---
title: "翻转动画"
author: "修博龙泉"
date: "2013-04-11T16:11:44Z"
tags: []
categories: ["移动开发"]
slug: "untitled"
draft: false
lastmod: "2013-04-11T16:11:44Z"
id: 1845836
url: "https://longquan.iteye.com/blog/1845836"
---

```java

    CGContextRef context      = UIGraphicsGetCurrentContext();
    [uiview beginanimations:nil context:context];
    [uiview setanimationtransition:uiviewanimationtransitionflipfromleft forview:self.navigationcontroller.view  cache:no];
    [uiview setanimationcurve:uiviewanimationcurveeaseinout];
    [uiview setanimationduration:1.0f];
    [uiview commitanimations];

```