ios - crash to perform a popover segue from a ModalView -


i need open popover subview inside modalview. these subviews added on modalview @ viewdidload using [self.storyboard instatiateviewcontrollerwithidentifier:identifier]

when click open popover application exit without information crash.

the sample project error can downloaded here (https://www.dropbox.com/s/mjpaqk6xwt86dbd/popovertest.zip)

i´m using xcode 4.3.1 , ios sdk 5.0 , storybord.

thanks

andré

in viewdidload, you're instantiating bunch of view controllers instantiateviewcontrollerwithidentifier:, aren't retained or referenced anywhere after that. i'm pretty sure arc releasing them @ end of viewdidload, causing crash. if didn't this, leak.

one solution store view controllers in array, , release on viewdidunload.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

javascript - Preserving URL fragment through CAS sign-on -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -