Post

Replies

Boosts

Views

Activity

Comment on VisionOS app with UIKit : error with window visibility
I created FB13325773 with a sample project, if you're able to take a look. I was able to reproduce the issue in a new Xcode project, where I remove the storyboard and try to create the app's window programatically, this time with UIWindowSceneDelegate. Same problem ... app works fine on iOS simulator, but crashes on the 'makeKeyAndVisible' call when running on Apple Vision simulator.
Topic: UI Frameworks SubTopic: UIKit Tags:
Nov ’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 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 Crash in iOS18
I filed FB13852136 and added a reproducible test project to it.
Topic: UI Frameworks SubTopic: UIKit
Replies
Boosts
Views
Activity
Jun ’24
Comment on UIBarButtonItem: show 'menu' programmatically
That's a shame
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
May ’24
Comment on Is there a limit for CKFetchRecordsOperation?
I was asking about CKFetchRecordsOperation. It turns out the limit there is 400 records at a time.
Replies
Boosts
Views
Activity
Jan ’24
Comment on Increased number of CKErrorServerRejectedRequest
I filed this FB13300807 a month ago, and haven't heard back from anyone. This is why CloudKit is so frustrating to work with ... there's no avenue or channel to communicate with the actual CloudKit teams, other than throwing a Feedback request into the void and hoping for some (possibly helpful) response over the next few weeks.
Replies
Boosts
Views
Activity
Nov ’23
Comment on VisionOS app with UIKit : error with window visibility
I created FB13325773 with a sample project, if you're able to take a look. I was able to reproduce the issue in a new Xcode project, where I remove the storyboard and try to create the app's window programatically, this time with UIWindowSceneDelegate. Same problem ... app works fine on iOS simulator, but crashes on the 'makeKeyAndVisible' call when running on Apple Vision simulator.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’23
Comment on VisionOS app with UIKit : error with window visibility
The firstScene object isn't nil, thought the windows and keyWindow properties are both nil. The assertion I get is: *** Assertion failure in BOOL _UIWindowSceneCompatibleIsHidden(UIWindow *__strong)(), UIWindowScene.m:2732 Is there a way I can inspect it?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’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
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 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 Removing dependencies for visionOS
Thanks. That works!
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 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 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 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 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