Created
May 29, 2020 03:04
-
-
Save aheze/f6c91e95a1f091efcc374c40aaca2d95 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { | |
// Override point for customization after application launch. | |
/// ↓ ADD THIS ↓ | |
if let rootWindow = window { | |
let iPhoneXSize = CGSize(width: 375, height: 812) /// if you're running this on an iPhone X, delete this line... | |
//let iPhone8Size = CGSize(width: 375, height: 667) /// ...and uncomment this line | |
Projector.display(rootWindow: rootWindow, testingSize: iPhoneXSize) | |
} | |
/// ↑ ADD THIS ↑ | |
return true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment