'Present a VC as full screen from a VC whose modalPresentationStyle is automatic
Im trying to present a new view controller with modalPresentationStyle as .fullscreen from a view controller whose modalPresentationStyle is .automatic.
I added the modalPresentationStyle for the new VC as .fullscreen.But its coming as matching to the old VC only. How can I achieve the same. Im using swift 5.Thanks in advance
Solution 1:[1]
This should do it...
vc.modalPresentationStyle = .overFullScreen
use .overFullScreen instead of .fullScreen
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | DonMag |
