1. Apple has claimed (from the epic trial) that since they owned the App Store, apps were theirs to sell.
2. Apple has claimed that any use of the iOS APIs is “apple’s data” (eg the Apple Pay system for in-app purchases)
3. Apples privacy policy claims that as long as apple’s data isn’t combined with 3P data, they aren’t “tracking” you.
4. Apple also lets you opt-out of personalized ads not data collection.
Ergo, apple will collect data about you from wherever and use it to target ads.
[1] apples privacy policy
Apple’s advertising platform does not track you, meaning that it does not link user or device data collected from our apps with user or device data collected from third parties for targeted advertising or advertising measurement purposes