Tom
Tom

Reputation: 3627

presentViewConroller *without* transparency

I prepare for changing (ios7+ Swift code) view controller like this:

tmpNewViewC!.modalTransitionStyle = UIModalTransitionStyle.CoverVertical;

And later show it like this

tmpOldViewC.presentviewController(tmpNewViewC!, animated: true, completion: nil);

The problem is that the the animaion effect overlays the new view transparent on the old making it look really messy for a while (both visible at the same time)

I just want both the views to be fully non-transparent while the animaion effect runs. The things I have tried have failed.

Upvotes: 0

Views: 49

Answers (1)

DeyaEldeen
DeyaEldeen

Reputation: 11807

you need to create custom transition as the default ones don't have all the options you need or want... a simple google search leads to this link so in short, you have to forge your own custom transition.

Upvotes: 1

Related Questions