WorkFlow Tips #4 with Xcode

    Login               Join               Free user account          


Watch Fullscreen



    WorkFlow Tips #4 with Xcode


Course: Xcode Workflow Tips


In this video tutorial, we’ll look at how to separate your code for particular devices (Apple TV, iPad and iPhone). We’ll do this with #if os statements as well as simple if statements using UIDevice.current.userInterfaceIdiom . We’ll also talk about tying in locations to frame width and height of a device. And how you can use the nativeBounds property to see if the device is a specific size (for example to check if it’s an iPad Pro).








Your Notes...

Oops, looks like you aren't logged in. You can sign up for a FREE user account below. No payment info required...





Category: App Development  -   Primary Software: Xcode  -  
Tags:   bounds - check device - height - iPad pro - native - UIDevice.current.userInterfaceIdiom - width