Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AppTrackingTransparencySWIFTUI

Sample code demonstrating A practical guide to App Tracking Transparency in iOS, covering the Info.plist usage description, the ATTrackingManager API, authorization statuses, and when to actually prompt the user from SwiftUI..

This project accompanies the article: App Tracking Transparency in SwiftUI

Requirements

  • Xcode 26.2+
  • iOS 26.0+
  • Swift 6.0

Getting Started

  1. Clone this repository
  2. Run xcodegen generate (requires XcodeGen)
  3. Open AppTrackingTransparencySWIFTUI.xcodeproj
  4. Build and run

What's Included

  • App.swift: Source file
  • ContentView.swift: Source file
  • PersonalizedFeedView.swift: Source file
  • TrackingPrePromptView.swift: Source file

Learn More

Read the full article at BleepingSwift for detailed explanations and additional examples.

License

MIT License - see LICENSE for details.

About

A practical guide to App Tracking Transparency in iOS, covering the Info.plist usage description, the ATTrackingManager API, authorization statuses, and when to actually prompt the user from SwiftUI.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages