I working with swift and how to how to present modal view controller but his background to be transparent. Content of other view controller to be visible in back.
Asked
Active
Viewed 567 times
-3
-
1It would be better if you search for similar questions before posting new one – Azat Apr 07 '15 at 10:38
1 Answers
0
This one works for me :
self.presentingViewController.providesPresentationContextTransitionStyle = YES;
self.presentingViewController.definesPresentationContext = YES;
modal.modalPresentationStyle = UIModalPresentationOverCurrentContext;

Miknash
- 7,888
- 3
- 34
- 46