user2083364
user2083364

Reputation: 764

`pushViewController:animated:` with fade animation (animate transition only)?

There a lot of similar questions with answers. For example:

link

but almost all of them are unsuitable because I also want to perform something like this:

button1.frame = button2.frame;
button2.hidden = YES;

So if I use an example with beginAnimations: then I can see how button1 changes its frame (it moves while app perfoms a transition animation).

How to solve this issue? First of all should I set a button frame in another way or should I find another code for transition?

EDITED

Additionally I have found out that not all ways allow to show fade animation I need so I have edited my question a little.

Upvotes: 3

Views: 4327

Answers (1)

user2083364
user2083364

Reputation: 764

link

The best solution from it is animating way which works for my case.

The most strange thing is to disable view controller's own animation instead of its changing.

Upvotes: 2

Related Questions