Post

Replies

Boosts

Views

Activity

Reply to Missing iOS 17 device support files
In the terminal run: defaults write com.apple.dt.Xcode DVTEnableCoreDevice enabled Then restart Xcode 14 the iOS 17 device will show up in Xcode like below and you can run and debug the app as usual. (You may need to go to Devices and Simulators to pair/trust > the device) I have Xcode 15 beta installed alongside Xcode 14, I'm not sure if that's required or not. wow you just saved me an insane amount of time, thanks so much
Jul ’23
Reply to How to fetch an image in the Live Activity (ActivityKit)
I was able to get it working using @brandonK212 approach but here's the thing, what is the "proper" way of loading a file into image from the ActivityConfiguration? Right now I have let _ = print(context.attributes.imageFilename) if let image = FileIO.load(filename: context.attributes.imageFilename) { Image(uiImage: image) } } But is that even a good idea? It looks like I have to do file IO every time the view is rendered. I don't think you can hold State or StateObjects because this isn't a SwiftUI View
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’23
Reply to Widgetkit's getTimeline is causing crash at completion(timeline)
ok when I did more troubleshooting, it turns out this line causes a crash @Environment(.showsWidgetContainerBackground) var showBG : Bool
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to The text "%%USE_I18N_STRING_ERROR%%" is displayed on the application page for the Apple Vision Pro Developer Kit.
I submitted twice and both times it said We’ll be back soon. So I guess that didn't go through?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to Missing iOS 17 device support files
In the terminal run: defaults write com.apple.dt.Xcode DVTEnableCoreDevice enabled Then restart Xcode 14 the iOS 17 device will show up in Xcode like below and you can run and debug the app as usual. (You may need to go to Devices and Simulators to pair/trust > the device) I have Xcode 15 beta installed alongside Xcode 14, I'm not sure if that's required or not. wow you just saved me an insane amount of time, thanks so much
Replies
Boosts
Views
Activity
Jul ’23
Reply to Changing the live activity without push notification
I have a different but related question. I’ve seen some apps able to animate continuously in live activities like a character dancing non stop. How is that done? I don’t think the app is sending live activities updates every second. It wouldn’t even be possible I don’t think when backgrounded.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to How to fetch an image in the Live Activity (ActivityKit)
I was able to get it working using @brandonK212 approach but here's the thing, what is the "proper" way of loading a file into image from the ActivityConfiguration? Right now I have let _ = print(context.attributes.imageFilename) if let image = FileIO.load(filename: context.attributes.imageFilename) { Image(uiImage: image) } } But is that even a good idea? It looks like I have to do file IO every time the view is rendered. I don't think you can hold State or StateObjects because this isn't a SwiftUI View
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to Share Play via Air Drop
I was literally searching for this tonight. I can't understand how this works. Does one side need the app open? So namedrop is a special case?
Topic: Media Technologies SubTopic: Video Tags:
Replies
Boosts
Views
Activity
Jun ’23