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

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -