iphone - UISearchBar ios 7 crash on cancel -
I am using UITableViewController, the search bar has been added in the header view of the table, searching for and canceling me in iOS 6 The button is fine but iOS 7 is working fine in search and when I tap the cancel button app crash under the message. Exceptions to 'NSInternalInconsistencyException', without exception: 'Auto-layoutSubviews required after automatic layout still executing. Implementation of UITableView - LayoutSubviews need super call. '*** First Throw Call Stack: (0 Core Forwardation 0x021f05e4 __exceptionPreprocess + 180 1 libobjc.A.dylib 0x01f738b6 objc_exception_throw + 44 2 Core Forwarding 0x021f0448 + [NSE Expansion Lifting: Format: Logic] + 136 3 Foundation 0x01b53fee - [NSAserthi Handler Handlefiluarind Method: File: Line Number: Description:] + 116 4 UIKit 0x00b1f33b - [UIView (CALayerDelegate) layoutSublierApplier:] + 567 5 libobjc.A.dylib 0x01f8581f - [NSBJT executable: with realistic] + 70 6 quartzakor 0x01a392ea - [ Caller layout ] + 148 7 QuartzCore 0x01a2d0d4 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 380 8 QuartzCore 0x01a3b715 - [CALayer (CALayerPrivate) layoutBelowIfNeeded] 43 9 UIKit 0x00b11c76 - [UIView (hierarchy) layoutBelowIfNeeded] 595 10 UIKit 0x00e4be70 - [UISearchDisplayController _hoistSearchBar] 992 11 UIKit 0x00e4ccb2 - [UISearchDisplayController showHideAnimationDidFinish] + 108 12 UIKit 0x00b00c6c - [UIViewAnimationState sendDelegateAnimationDidStop: finish:] + 267 13 UI Kit 0x00b00f58 - [UIViewAnimationState animationDidStop: ended:] + 80 14 QuartzCore 0x01a34a44 _ZN2CA5Layer23run_animation_callbacksEPv + 304 15 libdispatch.dylib 0x0249f4b0 _dispatch_client_callout + 14 from 16 libdispatch.dylib 0x0248d75e _dispatch_main_queue_callback_4CF + 340 17 CoreFoundation 0x02255a5e __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 14 18 CoreFoundation 0x021966bb __CFRunLoopRun + 1963 19 CoreFoundation 0x02195a c3 CFRunLoopRunSpecific + 467 20 CoreFoundation 0x021958db CFRunLoopRunInMode + 123 21 GraphicsServices 0x033df9e2 GSEventRunModal + 192 22 GraphicsServices 0x033df809 GSEventRun + 104 23 UIKit 0x00ab4d3b UIApplicationMain + 1225 24 uAlign 0x00001f6d main + 141 25 libdyld.dylib start 0x0273170d +1) libc ++ abi.dylib: NSException ending with
type extraction exceptions I am using the Storyboard and the Cancel Default button.
Please help on this. Thank you.
Use the unlock Autoload field and try to run it again, see the image below:
Comments
Post a Comment