objective c - IOS 8 : -[UIInputViewSet setRestorableResponder:]: message sent to deallocated instance 0x7d6659b0 -



objective c - IOS 8 : -[UIInputViewSet setRestorableResponder:]: message sent to deallocated instance 0x7d6659b0 -

this happening ios 8 iphone app, app worked fine previous version. coming issue, have table view, contains both text fields , other cells. delegates of textfield implemented. now, when click on text field, keyboard shown. while keyboard still visible, clicked on cell takes me other view, dismissing keyboard. now, when click on button in new view homecoming previous view, app crashing showing error message mentioned in title. used work in ios 7 , previous releases. please help.

addind stack trace asked.

<_nscallstackarray 0x802a7b30>( 0 ??? 0x15daa77d 0x0 + 366651261, 1 application 0x002e63f0 main + 0, 2 corefoundation 0x06e12fae _cf_forwarding_prep_0 + 14, 3 uikit 0x058bb318 -[uiperipheralhost(uikitinternal) _restoreinputviewswithid:animated:] + 701, 4 uikit 0x054cdd7d -[uinavigationcontroller navigationtransitionview:didstarttransition:] + 849, 5 uikit 0x054c569b -[uinavigationcontroller _startcustomtransition:] + 3843, 6 uikit 0x054d2726 -[uinavigationcontroller _startdeferredtransitionifneeded:] + 712, 7 uikit 0x054d3372 -[uinavigationcontroller __viewwilllayoutsubviews] + 57, 8 uikit 0x0564704c -[uilayoutcontainerview layoutsubviews] + 213, 9 uikit 0x053cedd1 -[uiview(calayerdelegate) layoutsublayersoflayer:] + 608, 10 libobjc.a.dylib 0x07cf7771 -[nsobject performselector:withobject:] + 70, 11 quartzcore 0x069bc28f -[calayer layoutsublayers] + 152, 12 quartzcore 0x069b0115 _zn2ca5layer16layout_if_neededepns_11transactione + 397, 13 quartzcore 0x069aff70 _zn2ca5layer28layout_and_display_if_neededepns_11transactione + 26, 14 quartzcore 0x0690e3c6 _zn2ca7context18commit_transactionepns_11transactione + 284, 15 quartzcore 0x0690f78c _zn2ca11transaction6commitev + 392, 16 quartzcore 0x0690fe58 _zn2ca11transaction17observer_callbackep19__cfrunloopobservermpv + 92, 17 corefoundation 0x06de59de __cfrunloop_is_calling_out_to_an_observer_callback_function__ + 30, 18 corefoundation 0x06de5920 __cfrunloopdoobservers + 400, 19 corefoundation 0x06ddb35a __cfrunlooprun + 1226, 20 corefoundation 0x06ddabcb cfrunlooprunspecific + 443, 21 corefoundation 0x06dda9fb cfrunloopruninmode + 123, 22 graphicsservices 0x0865124f gseventrunmodal + 192, 23 graphicsservices 0x0865108c gseventrun + 104, 24 uikit 0x053438b6 uiapplicationmain + 1526, 25 application 0x002e6491 main + 161, 26 libdyld.dylib 0x0806cac9 start + 1 )

i had similar problem , yes, turned out text field beingness deallocated. fixed in code adding phone call endediting before pushing on new view controller:

[self.view endediting:yes]; [self.navigationcontroller pushviewcontroller:... animated:yes];

ios objective-c iphone ios8 xcode6

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -