iOS

15

What's New

iOS 15 delivers major modernizations across in-app purchases, text handling, and async APIs. StoreKit 2 provides a Swift-native purchase framework with signed JWS transactions, while Foundation gains AttributedString with Markdown and grammar agreement. SwiftUI and URLSession embrace async/await patterns, and CreateML brings on-device machine learning to iOS for the first time.

Highlights

Breaking Changes

  • StoreKit 2 API renamed Product.request(with:) to Product.products(for:)
  • StoreKit 2 Transaction listener properties renamed to updates with new AsyncSequence types
  • StoreKitError.userDidNotAuthenticate removed, use userCancelled instead
  • VerificationResult.unverified now includes VerificationError parameter for failure reasons
  • AVCapturePhoto methods return CGImage? instead of Unmanaged<CGImage>? in Swift
  • Key commands no longer intercept text input in iOS 15 compiled apps without wantsPriorityOverSystemBehavior
  • QuickType bar now shows spellchecking when autocorrectionType is no, set spellCheckingType to no to hide

Deprecations

  • MKPinAnnotationView and MapPin marked as deprecated
  • Cleartext HTTP PAC URL schemes deprecated, use HTTPS only
  • AnimatableModifier protocol soft-deprecated, use Animatable directly
  • controlProminence deprecated, use .borderedProminent ButtonStyle instead
  • Function (Fn) shortcut modifier deprecated and reserved for system usage

Related Articles

React Native Blog Sep 1, 2021

Preparing Your App for iOS 15 and Android 12

Best practices and guidance for updating React Native apps to be compatible with iOS 15 and Android 12.

Recent Releases

All releases →