2

Autolayoutなしで非常にうまく機能するアプリがあります。Autolayout を導入し、すべての「制約が満たされていない」タイプのメッセージがコンソール ログから消えることを確認した後、3.5 と 4.0 の両方の Retina ディスプレイでビューを読み込めるようになりました。modalview を追加しようとすると、次のようにアプリがクラッシュします。デバッグする方法はありません...助けてください。

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib                 0x01be209b objc_msgSend + 15
1   Foundation                      0x009c4795 -[NSISVariable shouldBeIntegral] + 57
2   Foundation                      0x009b8a58 -[NSISEngine substituteOutAllOccurencesOfBodyVar:withExpression:] + 546
3   Foundation                      0x009b90d4 -[NSISEngine pivotToMakeBodyVar:newHeadOfRowWithHead:] + 382
4   Foundation                      0x009be0e0 -[NSISEngine removeConstraintWithMarker:] + 315
5   Foundation                      0x009c87ee -[NSLayoutConstraint _removeFromEngine:] + 277
6   UIKit                           0x01322721 __72-[UIView(AdditionalLayoutSupport) _removeRelevantConstraintsFromEngine:]_block_invoke_0 + 363
7   Foundation                      0x009bd0b3 -[NSISEngine withAutomaticOptimizationDisabled:] + 57
8   UIKit                           0x01322579 -[UIView(AdditionalLayoutSupport) _removeRelevantConstraintsFromEngine:] + 109
9   UIKit                           0x00e254d4 __UIViewWillBeRemovedFromSuperview + 766
10  UIKit                           0x00e25133 -[UIView(Hierarchy) removeFromSuperview] + 70
11  UIKit                           0x00e9e935 -[UITransitionView _didCompleteTransition:] + 634
12  UIKit                           0x00ea0f13 -[UITransitionView _transitionDidStop:finished:] + 107
13  UIKit                           0x00e1cd66 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 237
14  UIKit                           0x00e1cf04 -[UIViewAnimationState animationDidStop:finished:] + 68
15  QuartzCore                      0x007297d8 CA::Layer::run_animation_callbacks(void*) + 284
16  libdispatch.dylib               0x029c0014 _dispatch_client_callout + 14
17  libdispatch.dylib               0x029b07d5 _dispatch_main_queue_callback_4CF + 296
18  CoreFoundation                  0x01d51af5 __CFRunLoopRun + 1925
19  CoreFoundation                  0x01d50f44 CFRunLoopRunSpecific + 276
20  CoreFoundation                  0x01d50e1b CFRunLoopRunInMode + 123
21  GraphicsServices                0x02bf77e3 GSEventRunModal + 88
22  GraphicsServices                0x02bf7668 GSEventRun + 104
23  UIKit                           0x00ddeffc UIApplicationMain + 1211
24  LMClient-1.0                    0x0000291d main + 141 (main.m:16)
25  LMClient-1.0                    0x00002845 start + 53
4

0 に答える 0