Post

Replies

Boosts

Views

Activity

Comment on Looking for a solution to replace UILocalNotifications
Thanks for the response. Implementing a server, with push notifications and scheduling, is a big task, so it would be really nice to have a work-around locally. One thing I wanted to ask ... is there a limit to how many UNCalendarNotificationTriggers we can setup in the app? With UILocalNotifications, there was some limit for 64 (or was it 128) notifications that could be scheduled at one time within an app. Does that limit also exist for User Notifications (if so , is it a higher limit than before)? If the notifications limit wasn't an issue, then one can theoretically schedule out calendar notifications to fire at each repeat interval, maybe for the next 5 repeat intervals, and then recalculate when the app is launched at some point.
Jun ’21
Comment on WidgetKit API to take screenshot?
For Home Screen widgets. You're right, hard to imagine a way to do it in code, since the snapshot is just saved to an archive on disk. I was hoping it's possible in Xcode or something, but doesn't look like it. If anyone knows a way (either an external tool or some shenanigans) I would love to know. Just need it to capture some problem for internal use.
Topic: App & System Services SubTopic: General Tags:
Jun ’23
Comment on CLLocationManager: getting kCLErrorDenied in widget
Hi. Thanks, they do seem like very similar problems. In my case, it seems to happen on my main iPhone mostly, and seems to work fine on a couple of test devices. Do you have that experience as well? Is it working in production for you? Have you tried iOS16? I'm wondering if it's just a bug with the app not reading the correct permissions on my device, for my app.
Sep ’23
Comment on Looking for a solution to replace UILocalNotifications
I meant to say '128' (instead of the emoji)!
Replies
Boosts
Views
Activity
Jun ’21
Comment on Looking for a solution to replace UILocalNotifications
Thanks for the response. Implementing a server, with push notifications and scheduling, is a big task, so it would be really nice to have a work-around locally. One thing I wanted to ask ... is there a limit to how many UNCalendarNotificationTriggers we can setup in the app? With UILocalNotifications, there was some limit for 64 (or was it 128) notifications that could be scheduled at one time within an app. Does that limit also exist for User Notifications (if so , is it a higher limit than before)? If the notifications limit wasn't an issue, then one can theoretically schedule out calendar notifications to fire at each repeat interval, maybe for the next 5 repeat intervals, and then recalculate when the app is launched at some point.
Replies
Boosts
Views
Activity
Jun ’21
Comment on UserNotifications local notifications limits
Thank you; that's very helpful. I'll have to look into building some queuing mechanism I suppose. I don't particularly understand why they can't update the limits, considering that it's been there since UILocalNotifications was introduced in iOS4, and everything under the sun has changed since then!
Replies
Boosts
Views
Activity
Jun ’21
Comment on Access to mailboxes and folders?
Filed FB9162707
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’21
Comment on Can Intents Extensions access the container app's Application Support directory?
Any thoughts on how to communicate between app extension and the parent app? On iOS, I would write to a plist file, and the iOS app would read the plist file when it became active and update accordingly ... but wondering if there's a better way on the Mac (while respecting sandboxing).
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on TabularData Framework: crash on opening CSV file
Thanks; it does seem like it's been fixed in iOS16 and macOS13 betas.
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on iPhone14 Pro and UserNotification limits
Where is the limit stated in the documentation? I saw it with the (deprecated) UILocalNotification doc, but not with the 'new' UserNotifications framework.
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Sep ’22
Comment on CLGeocoder geocodePostalAddress returning a lot of kCLErrorGeocodeFoundNoResult errors
Thanks for confirming that it's not just me! Yes, I had to update the app to fall back to using geocodeAddressString in case I get "no results" from geocodePostalAddress
Replies
Boosts
Views
Activity
Nov ’22
Comment on What does WIDGET_BACKGROUND_API_ADOPTION_PROMPT mean?
When I add this, I get an error in Xcode: Branches have mismatching types 'some View' (result of 'Self.containerBackground(for:alignment:content:)') and 'some View' (result of 'Self.background(_:alignment:)')
Replies
Boosts
Views
Activity
Jun ’23
Comment on Using containerBackground with iOS16 deployment
Hmm, it wasn't working for me, until I added '@ViewBuilder' before the 'func'. Then it compiled for me, in Xcode 15 .
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’23
Comment on WidgetKit API to take screenshot?
For Home Screen widgets. You're right, hard to imagine a way to do it in code, since the snapshot is just saved to an archive on disk. I was hoping it's possible in Xcode or something, but doesn't look like it. If anyone knows a way (either an external tool or some shenanigans) I would love to know. Just need it to capture some problem for internal use.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’23
Comment on Removing dependencies for visionOS
Thanks. That works!
Replies
Boosts
Views
Activity
Jun ’23
Comment on CLLocationManager: getting kCLErrorDenied in widget
Hi. Thanks, they do seem like very similar problems. In my case, it seems to happen on my main iPhone mostly, and seems to work fine on a couple of test devices. Do you have that experience as well? Is it working in production for you? Have you tried iOS16? I'm wondering if it's just a bug with the app not reading the correct permissions on my device, for my app.
Replies
Boosts
Views
Activity
Sep ’23
Comment on CLLocationManager: getting kCLErrorDenied in widget
Ya, I just reset the Privacy and Location settings on my iPhone, and it works fine now.
Replies
Boosts
Views
Activity
Sep ’23
Comment on Increased number of CKErrorServerRejectedRequest
Thanks. I filed FB13300807 and added the container identifier as well. Is there anything else I would need to add to the ticket? Can you also confirm what the CKErrorServerRejectedRequest signifies? And whether, in this case, it makes sense to just recreate the same operation and send it over again? Thanks.
Replies
Boosts
Views
Activity
Oct ’23