tableView xib のカスタム セルで autoLayout を使用すると、次のエラーが発生します。
iOS 6 シミュレータで実行する場合、 CustomCells の -layoutSubviews の実装は super を呼び出す必要があります
Assertion failure in
-[CustomCells layoutSublayersOfLayer:], /SourceCache/UIKit_Sim/UIKit-2372/UIView
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Auto Layout still required after executing -layoutSubviews. CustomCells's implementation of -layoutSubviews needs to call super.'
*** First throw call stack:
iOS 5 シミュレーターで実行する場合
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'The NIB data is invalid.'
*** First throw call stack:
臨時雇用者修正:
カスタムセルでautoLayoutを無効にしている場合、正常に機能しています。ただし、この場合、向きの処理は適切ではありません。助けてください。