Posts

Post not yet marked as solved
2 Replies
I'm trying to run preview from framework. If I run preview from the app the custom font seems to work (I have to register the custom font from the code).
Post not yet marked as solved
6 Replies
It works if you hold a reference to the UIWindow e.g.var window: UIWindow? extension UIViewController { func present() { window = UIWindow(frame: UIScreen,main.bounds) } }I don't know why this is needed...