iPhone SDK - Changing Xib files (partial curl)
<p>I am creating an iPhone app for iOS 4 using the newest SDK.</p>

<p>On one of my pages I would like the user to click a thumbnail of a photo and then a partial curl transition style take affect to show a full sized version of the image. </p>

<p>On the page with the full sized image I have a toolbar with a "Back" button and a "Select" button. </p>

<p>When I click the Back button the partial curls rolls back down to my first Xib. </p>

<p>BUT when I click the Select button, the app crashes. </p>

<p>Can anyone help me or explain why it is doing this? Thanks!</p>

<p>.m file:</p>

<pre><code>-(IBAction)switchViews4 {

ImagePicker *image = [[ImagePicker alloc] initWithNibName:nil bundle:nil];
image.modalTransitionStyle = UIModalTransitionStylePartialCurl;
[self presentModalViewController:image animated:YES];
[image release];
</code></pre>

<p>}</p>
