Tutorial details

Adding view transitions | App Code for Sale | Preview

Adding view transitions | iOS Tutorial

How to add view transitions

Overview PAGE TOP

Reference: http://www.geekylemon.com/WEBPROTECT-xcodeviewtransitions.htm

In this tutorial i will be showing you how to add view transitions

Features

  • 2 views
  • 2 round rect buttons

Adding view transitions to you apps improves yours apps appeal from the regular slide up motion to fading flipping and curling. This changes the feel of switching from one view to another to in dept explore.

ViewController.h PAGE TOP

@interface ViewController :UIViewController {
}
-(IBAction)switchback:(id)sender;
@end

ViewController.m PAGE TOP

@implementation ViewController
-(IBAction)switchback:(id)sender {
viewsViewController *second = [[viewsViewController alloc] initWithNibName:nilbundle:nil];
    second.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
    [self presentModalViewController:second animated:YES];
}
@end

ViewTransitions PAGE TOP

second.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
second.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
second.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
second.modalTransitionStyle = UIModalTransitionStylePartialCurl;

Reference PAGE TOP

http://www.geekylemon.com/WEBPROTECT-xcodeviewtransitions.htm

0 Comments Leave a comment

Please login in order to leave a comment.

Newest first
!

Sign-in to your Chupamobile Account.

The Easiest way to Launch your next App or Game.

Join Chupamobile and get instant access to thousands of ready made App and Game Templates.

Creating an account means you’re okay with Chupamobile’s Terms of Service and Privacy Policy.