ios - The Left Slide Menu is not working (PFAirViewController) -
i developing ios app
left sliding menu. use template link: (btw, coded left sliding menu demo), , prefer use storyboard design ui.
thus, transplant api github
link. follow instruction still got fatal errors. here link copy of project. me solve issue please.
here exception output displayed in console:
2014-12-01 16:08:21.654 fitness main framework[10757:504122] *** terminating app due uncaught exception 'nsrangeexception', reason: '*** -[__nsarrayi objectatindex:]: index 0 beyond bounds empty array' *** first throw call stack: ( 0 corefoundation 0x0000000104e8fb75 __exceptionpreprocess + 165 1 libobjc.a.dylib 0x000000010477fbb7 objc_exception_throw + 45 2 corefoundation 0x0000000104d8772e -[__nsarrayi objectatindex:] + 190 3 fitness main framework 0x0000000103fd196f -[phairviewcontroller savethumbnailimage:atindexpath:] + 159 4 fitness main framework 0x0000000103fce560 -[phairviewcontroller showairviewfromviewcontroller:complete:] + 752 5 fitness main framework 0x0000000103fd3841 -[zzpersonalprofiletabvc leftbuttontouch] + 145 6 uikit 0x000000010528063e -[uiapplication sendaction:to:from:forevent:] + 75 7 uikit 0x00000001053872c0 -[uicontrol _sendactionsforevents:withevent:] + 467 8 uikit 0x000000010538668f -[uicontrol touchesended:withevent:] + 522 9 uikit 0x00000001052c60e8 -[uiwindow _sendtouchesforevent:] + 735 10 uikit 0x00000001052c6a13 -[uiwindow sendevent:] + 683 11 uikit 0x0000000105293791 -[uiapplication sendevent:] + 246 12 uikit 0x00000001052a085d _uiapplicationhandleeventfromqueueevent + 17370 13 uikit 0x000000010527be9c _uiapplicationhandleeventqueue + 2066 14 corefoundation 0x0000000104dc49d1 __cfrunloop_is_calling_out_to_a_source0_perform_function__ + 17 15 corefoundation 0x0000000104dba89d __cfrunloopdosources0 + 269 16 corefoundation 0x0000000104db9ed4 __cfrunlooprun + 868 17 corefoundation 0x0000000104db9906 cfrunlooprunspecific + 470 18 graphicsservices 0x00000001081009f0 gseventrunmodal + 161 19 uikit 0x000000010527f1a0 uiapplicationmain + 1282 20 fitness main framework 0x0000000103fd38d3 main + 115 21 libdyld.dylib 0x0000000107c55145 start + 1 ) libc++abi.dylib: terminating uncaught exception of type nsexception
i found solution question. silly mistake, mistakenly copy viewdidload code memeorylow function... api great
Comments
Post a Comment