iOSデバッグUIViewAlertForUnsatisfiableConstraints

3613 ワード

  • デバッグパネルにシンボルデバッグを追加し、simbol入力UIViewAlertForUnsatisfiableConstraints
  • actionでobjective-c
  • をクリックして追加
    po [[UIWindow keyWindow] _autolayoutTrace]
    

    swift
    expr -l objc++ -O -- [[UIWindow keyWindow] _autolayoutTrace]
    

    ロゴに「AMBIGUOUS」関連オブジェクトを見つけて修正
    http://blog.163.com/fisher_zhang/blog/static/244839009201662293637155/https://www.jianshu.com/p/a668e6402b59
    しかし、私は試してもこのような問題はありませんが、どうして間違っていますか?
    UIWindow:0x100c0ef90
    |   •UILayoutContainerView:0x100c10d70
    |   |   UINavigationTransitionView:0x100b06380
    |   |   |   UIViewControllerWrapperView:0x100c16f90
    |   |   |   |   UIView:0x100c05c20
    |   |   |   |   |   •UIView:0x100c161d0
    |   |   |   |   |   |   UIImageView:0x100b0c450
    |   |   |   |   |   |   UIButton:0x100b0cc00'VIDEOS'
    |   |   |   |   |   |   |   UIButtonLabel:0x100b144e0'VIDEOS'
    |   |   |   |   |   |   UIImageView:0x100c16370
    |   |   |   |   |   |   UIButton:0x100b0b790'TIP'
    |   |   |   |   |   |   |   UIButtonLabel:0x100b13910'TIP'
    |   |   |   |   |   |   UIButton:0x100c15f00'CAMERA'
    |   |   |   |   |   |   |   UIButtonLabel:0x100c19ea0'CAMERA'
    |   |   |   |   |   |   *_UILayoutGuide:0x100c16a10
    |   |   |   |   |   |   *_UILayoutGuide:0x100c16dd0
    |   |   |   |   _UIParallaxDimmingView:0x100b21090
    |   |   |   |   UIView:0x100c05a80
    |   |   |   |   |   _UIParallaxDimmingView:0x100b1b170
    |   |   |   |   |   |   UIImageView:0x100b1bad0
    |   |   |   |   |   |   •UIView:0x100c1d880
    |   |   |   |   |   |   |   UICollectionViewPlus:0x10100a800
    |   |   |   |   |   |   |   |   EmptyVideoCollection:0x100c1ba10
    |   |   |   |   |   |   |   |   |   UILabel:0x100c200b0'Loading..'
    |   |   |   |   |   |   |   |   UIImageView:0x100c23b70
    |   |   |   |   |   |   |   |   UIImageView:0x100c23d60
    |   |   |   |   |   |   |   UIToolbar:0x100c1da20
    |   |   |   |   |   |   |   |   UIToolbarTextButton:0x100c20340
    |   |   |   |   |   |   |   |   |   _UIToolbarNavigationButton:0x100c20600'Goto Local'
    |   |   |   |   |   |   |   |   |   |   UIButtonLabel:0x100c01710'Goto Local'
    |   |   |   |   |   |   |   UIButton:0x100c1c2c0'Goto Local'
    |   |   |   |   |   |   |   |   UIImageView:0x100b1b370
    |   |   |   |   |   |   |   *_UILayoutGuide:0x100b0d3f0
    |   |   |   |   |   |   |   *_UILayoutGuide:0x100b12680
    |   |   |   |   |   |   |   ToolLayer:0x100b13fc0
    |   |   |   |   |   |   |   |   UICollectionViewPlus:0x10107e400
    |   |   |   |   |   |   |   |   |   UIImageView:0x100b22100
    |   |   |   |   |   |   |   |   |   UIImageView:0x100c246f0
    |   |   |   |   |   |   |   UIView:0x100b1c660
    |   |   |   |   |   |   |   |   VideoPlayer:0x100b1c800
    |   |   |   |   |   |   |   |   |   UIProgressView:0x100b1e320
    |   |   |   |   |   |   |   |   |   |   UIImageView:0x100b1e740
    |   |   |   |   |   |   |   |   |   |   UIImageView:0x100b1e930
    |   |   +UINavigationBar:0x100c0bdc0
    |   |   |   _UIBarBackground:0x100c0d240
    |   |   |   |   UIImageView:0x100c0d850
    |   |   |   |   UIVisualEffectView:0x100c0da40
    |   |   |   |   |   _UIVisualEffectBackdropView:0x100c0e480
    |   |   |   |   |   _UIVisualEffectFilterView:0x100c119b0
    |   |   |   +UIButton:0x100b1fec0
    |   |   |   |   UIImageView:0x100b257f0
    |   |   |   UINavigationButton:0x100c24e70'< Back'
    |   |   |   |   UIButtonLabel:0x100c270a0'< Back'
    |   |   |   UIView:0x100c278c0
    |   |   |   |   UINavigationItemView:0x100b20820'ALBUM'
    |   |   |   |   |   UILabel:0x100b20c00'ALBUM'
    |   |   |   _UINavigationBarBackIndicatorView:0x100c0dc80