开发者

How do I animate a view in this weird way?

I'm programming for the iPhone and I have an idea for an animation that I want to implement. I want a user tapping on a UITableView cell and it turning 90 degrees and fi开发者_如何转开发lling up the whole screen with another view that I've made.

I'm wondering how I would do this as well as what knowledge I would need to do this.

Thanks.

Update - I meant the cell itself turning 90 degrees.


Check out this sample code project from apple... So when you tap a cell in the table, you would load the appropriate content into the portrait view and and display it as is done in this sample which results in full screen portrait view, complete with nice cross-fade transition.

http://developer.apple.com/iphone/library/samplecode/AlternateViews/


customize the Cell View ... add method to rotate the view , when tap it call the method as you want....

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜