YUNOVA · iOS Development

Module 9: Device features

Notes for offline study · 30 November 2026

Push notifications with APNs

Key points

  • The app asks the user for notification permission first.
  • It registers with APNs and receives a device token.
  • Your server sends notifications to APNs using that token.

Core Location and MapKit

Key points

  • CLLocationManager gives the device's location after the user grants permission.
  • Add a usage description to Info.plist explaining why location is needed.
  • MapKit shows maps, annotations and routes.

Camera and PhotosPicker

Key points

  • PhotosPicker lets users choose photos without full library access.
  • Taking photos with the camera needs a camera usage description.
  • Load the selected item asynchronously, then convert it to an image.

In-app purchases with StoreKit 2

Key points

  • StoreKit 2 uses async APIs to load products and make purchases.
  • Product types include consumables, non-consumables and subscriptions.
  • Check Transaction.currentEntitlements to unlock what the user has bought.

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.