I have in my ViewController that runs this method:
-(void)prepareForSegue:(UIStoryboardSegue*)segue sender:(id)sender{ NSLog(@"prepare segue modal.partial_curl"); if([[segue identifier] isEqualToString: @"sample"]){ "setgoalviewcontrollerobjecthere" = [segue destinationViewController]; }
}
don't forget to import the .h, alloc and init file. name segue identifier in the storyboard file "sample", and select a modal, transitional partial curl style. The easiest way works every time. If you do it just programmatically, you need to do a lot more → google
domink
source share