Simple application and implementation of flip between IOS interface

Source: Internet
Author: User

Hello, everyone! After 1.5 of the time I re-engaged in iOS, today reviewed a section of content as a study, write down the record.

Today to two interface between the addition of a simple animation effect, is the flip effect;

In the absence of Navigationcontroller, is not through the push method to enter the interface if it is to implement this method and deliberately set a navigationcontroller and appear complex, so I looked at the next present method, The result is still a way to achieve and very simple;

   Zhuceviewcontroller *zhu = [[Zhuceviewcontroller alloc]init];     = uimodaltransitionstylecoververtical;    [Self Presentviewcontroller:zhu animated:yes completion:nil];

In the first VC call this method can be implemented with Flip animation interface switch, and from the second interface to return the first interface just need a demo can be done

    [Self dismissviewcontrolleranimated:yes completion:nil];

The above code can be directly returned to the first VC, and the same animation effect, very simple today used in the registration and login interface between the switch, feeling is OK.

Finally, if there are any other better ways or clearer ideas welcome you to leave a message and add!

Simple application and implementation of flip between IOS interface

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.