Sunday, January 5, 2014

Transitions between two UIViewController

Could do with CATransiton transitions between two UIViewController.
Reply:
Hell, forum posts in what order, and how I sink to the bottom of the post.
I top up.
Reply:
Switching Controller's nobody in it?
Only switch View ....
Reply:
http://blog.csdn.net/cloudhsu/archive/2010 / 08/26/5841089.aspx
You can refer to this animation ....
Reply:
reference to the second floor cloudhsu reply:
Switching Controller's no one in it?
Only switch View ....

If so, then I say to you directly under my needs.

My program there are several full-screen interface to switch between full-screen interface so far these are used in animation CATransiton.
Now a full-screen interface to append a table.
Only thing you need to support, support UIViewController.editButtonItem (to delete table entries).

So I'm here on the load with navigation controller table and UIViewController.editButtonItem to achieve, but do not know how to add animation effects when switching CATransiton's.
Reply:
Even if you are loaded with AControler BController the item
It also still use the View AControler go AddSubview: b.item right?
CATransiton same is done processing ..
ViewRegardless of your controller
[A.view addSuview: b.item]; After
You can find b.item in A.view of subviews, usually with a tag to find out
Talked about it to understand it?
Reply:
sorry, I was wrong.

I always thought UIViewController.editButtonItem achieve the table's delete function.

In fact, by [self.tableView setEditing: YES animated: YES]; able to achieve.

No comments:

Post a Comment