ios - Unable to understand the Crash Logs -
i have view,which consists uiscrollview
on subviews added in viewdidload
after adding subviews & after execution of custom methods goes viewwillappear
,after crashes following traces:
terminating app due uncaught exception 'nsinvalidargumentexception', reason: '-[__nscfstring ciimage]: unrecognized selector sent instance 0x7db5bb80' *** first throw call stack: ( 0 corefoundation 0x04614946 __exceptionpreprocess + 182 1 libobjc.a.dylib 0x0429da97 objc_exception_throw + 44 2 corefoundation 0x0461c5c5 -[nsobject(nsobject) doesnotrecognizeselector:] + 277 3 corefoundation 0x045653e7 ___forwarding___ + 1047 4 corefoundation 0x04564fae _cf_forwarding_prep_0 + 14 5 uikit 0x02b589f1 -[uiimageview _shoulddrawimage:] + 33 6 uikit 0x02b58aa2 -[uiimageview _candrawcontent] + 164 7 uikit 0x02a2f750 -[uiview(internal) _shouldinheritscreenscaleascontentscalefactor] + 83 8 uikit 0x02a2f7e9 -[uiview(internal) _applyscreenscaletocontentscalefactorifnotspecifiedbydeveloper] + 35 9 uikit 0x02a2f56e -[uiview(internal) _didmovefromwindow:towindow:] + 1628 10 uikit 0x02b5d762 -[uiimageview _didmovefromwindow:towindow:] + 65 11 uikit 0x02a2f23f -[uiview(internal) _didmovefromwindow:towindow:] + 813 12 uikit 0x02a423e1 -[uiscrollview _didmovefromwindow:towindow:] + 65 13 uikit 0x02a2f23f -[uiview(internal) _didmovefromwindow:towindow:] + 813 14 uikit 0x02a2f23f -[uiview(internal) _didmovefromwindow:towindow:] + 813 15 uikit 0x02a26517 __45-[uiview(hierarchy) _postmovedfromsuperview:]_block_invoke + 154 16 uikit 0x02a26475 -[uiview(hierarchy) _postmovedfromsuperview:] + 458 17 uikit 0x02a31f0d -[uiview(internal) _addsubview:positioned:relativeto:] + 2018 18 uikit 0x02a2486e -[uiview(hierarchy) addsubview:] + 56 19 uikit 0x0299d0fa __53-[_uinavigationparallaxtransition animatetransition:]_block_invoke + 1849 20 uikit 0x02a2b7af +[uiview(animation) performwithoutanimation:] + 82 21 uikit 0x0299c5a6 -[_uinavigationparallaxtransition animatetransition:] + 1204 22 uikit 0x02b2b64d -[uinavigationcontroller _startcustomtransition:] + 3765 23 uikit 0x02b38726 -[uinavigationcontroller _startdeferredtransitionifneeded:] + 712 24 uikit 0x02b39372 -[uinavigationcontroller __viewwilllayoutsubviews] + 57 25 uikit 0x02cad04c -[uilayoutcontainerview layoutsubviews] + 213 26 uikit 0x02a34dd1 -[uiview(calayerdelegate) layoutsublayersoflayer:] + 608 27 libobjc.a.dylib 0x042b3771 -[nsobject performselector:withobject:] + 70 28 quartzcore 0x0215928f -[calayer layoutsublayers] + 152 29 quartzcore 0x0214d115 _zn2ca5layer16layout_if_neededepns_11transactione + 397 30 quartzcore 0x0214cf70 _zn2ca5layer28layout_and_display_if_neededepns_11transactione + 26 31 quartzcore 0x020ab3c6 _zn2ca7context18commit_transactionepns_11transactione + 284 32 quartzcore 0x020ac78c _zn2ca11transaction6commitev + 392 33 quartzcore 0x020ace58 _zn2ca11transaction17observer_callbackep19__cfrunloopobservermpv + 92 34 corefoundation 0x045379de __cfrunloop_is_calling_out_to_an_observer_callback_function__ + 30 35 corefoundation 0x04537920 __cfrunloopdoobservers + 400 36 corefoundation 0x0452d35a __cfrunlooprun + 1226 37 corefoundation 0x0452cbcb cfrunlooprunspecific + 443 38 corefoundation 0x0452c9fb cfrunloopruninmode + 123 39 graphicsservices 0x05e6b24f gseventrunmodal + 192 40 graphicsservices 0x05e6b08c gseventrun + 104 41 uikit 0x029a98b6 uiapplicationmain + 1526 42 popcorn 0x000e9472 main + 130 43 libdyld.dylib 0x06193ac9 start + 1 ) libc++abi.dylib: terminating uncaught exception of type nsexception
terminating app due uncaught exception 'nsinvalidargumentexception', reason: '-[__nscfstring ciimage]: unrecognized selector sent instance 0x7db5bb80'
you're accessing ciimage property of nsstring (perhaps id , accessed property thinking id object uiimage). search ciimage
in class , make sure object you're getting property actual uiimage
.
Comments
Post a Comment