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