Post

Replies

Boosts

Views

Activity

Reply to IAP Receipt for app bundles
Thanks, Rich. Great answer. I've one followup though: You mention "The bundle id is the same". Do you mean it is the same as for an individual purchase (with each app having its own bundle id in the receipt) or the bundle id is the same for both apps in the bundle? I assume the first, but I wanna be 100% sure.
Jul ’21
Reply to canOpenURL returned an incorrect result in iOS 15 run in Xcode13
This causes big trouble for our "Where To?" app. Our POI finder app links to more than 80 different apps to get directions. The app's core functionality is POI search. To offer turn-by-turn directions or directions including ticket purchase for public transport, we link to third party apps. Currently, we support more than 80 apps. Some apps have country-based URL schemes, so we have a total of 230 entries in LSApplicationQueriesSchemes. We need the canOpenUrl API to determine if we can offer a 3rd party directions app as "installed" or whether we should link to the App Store instead (using SKStoreProductViewController). While I understand your goal to limit fingerprinting, in our case, a totally valid use case is destroyed by this policy. We feel that linking to 3rd party apps creates a vibrant ecosystem of apps working together and focusing on their respective core competencies. Such a business model should not be punished just because there might be some apps abusing the API for finger printing purposes. We suggest to solve the problem in App Review instead. You could install a new rule that entries in LSApplicationQueriesSchemes must not be used for fingerprinting purposes and each entry must be linked somewhere from the app. Then it would be possible to reliably link to 3rd party apps and prevent abuse at the same time. An additional entitlement permitting a larger limit would also be possible though not needed in our view. Logged as FB9660602.
Sep ’21
Reply to Using UIButtonConfiguration, what is the equivalent to using UIButton.imageEdgeInsets
@Rincewind I do think this is a serious oversight. Particularly with assets preserving vector data, we really should have fine-grained control over the button image size, irrespective of the image's native size. Imo, UIButton.Configuration.contentsInsets doesn't behave as advertised. It's defined as the distance from the button's content area to its bounds. So the image should be resized to fit in the content area. I've logged FB12471726.
Jun ’23
Reply to CoreData: debug: PostSaveMaintenance: fileSize 30409752 greater than prune threshold
I’ve the same issue. My .sqlite file is 88 MB and my sqlite-wal is 1.5 GB! I tried to run VACUUM and: storeDescription.setOption(["incremental_vacuum": "0", "wal_autocheckpoint": "100", "wal_checkpoint": "TRUNCATE"] as NSDictionary, forKey: NSSQLitePragmasOption) Nothing helped. When I set a different journal_mode (DELETE or TRUNCATE), the app timeouts after 240 seconds when setting up Core Data. Any idea?
Jan ’24