Reading the iPhone Duo Hinge Angle with onHingeChange in SwiftUI
iOS 27.1 lets you read iPhone Duo's hinge angle and fold status with onHingeChange in SwiftUI and...
// Tutorials and guides for building powerful iOS and iPadOS apps with UIKit. Master view controllers, Auto Layout, animations, and learn how to integrate UIKit components with modern SwiftUI apps.
iOS 27.1 lets you read iPhone Duo's hinge angle and fold status with onHingeChange in SwiftUI and...
iPhone Duo ships on October 23 with a folding inner display, a compact outer display, and toolbars that move...
iOS 27.2 adds a titleAlignment property to UINavigationItem, so you can pin an inline navigation title to the...
UIScreen.main assumes your app lives on one screen with one size. iPhone Duo, iPhone Mirroring, and iPad...
Apps built with the iOS 27 SDK must use the UIKit scene life cycle or they fail to launch. Here's how to tell...
Understand the key difference between a UIView's frame and bounds properties, and when to use each in your...
A practical guide to choosing between SwiftUI and UIKit in 2026, based on your project requirements, team...
Learn how to access photos from the camera roll in SwiftUI, including required permissions, Info.plist...
Learn how to detect when users take screenshots in your SwiftUI app by observing UIApplication notifications.
Learn how to detect when a user successfully shares content using a share sheet in SwiftUI by wrapping...
Learn how to detect when users shake their device in SwiftUI by bridging to UIKit's motion events and...
Learn how to integrate UIKit's App Delegate into your SwiftUI app for handling app lifecycle events and...
Learn how to prevent users from taking screenshots of sensitive content in your SwiftUI app using field-level...
How to traverse the view controller hierarchy to find the currently visible view controller.
Learn how to add pull-to-refresh functionality to custom ScrollViews in SwiftUI without using List, perfect...
Learn how to create a WebView/WKWebView with a transparent/clear background in SwiftUI.
Learn how to use a WKWebView as a quick way to load a GIF from a URL and display it in a SwiftUI view.
Learn how to access your app's App Delegate from anywhere in your Swift code, including from SwiftUI views.