Post

Replies

Boosts

Views

Activity

Comment on Troubles with CFBundleDocumentTypes and photos
Thanks - I'm aware of share extensions, but they appear above the sharing app and are totally separate from the main app's data. Using a share extension is going to require breaking down my code into frameworks and also finding ways to update shared data that the share extension can use from my main app. If I can simply open the image in my app (as in the example apps I mentioned above), then all of that complexity is gone.
Topic: App & System Services SubTopic: General Tags:
Feb ’25
Comment on Show a UIMenu on double-tap?
Thanks for the quick response, and the suggestion. If I went that route, would it still have to be two separate, spaced-out taps, i.e. one tap to focus, then we enable the menu, then the user taps again? Would a double-tap always get picked up as a single double-tap gesture?
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’24
Comment on Troubles with CFBundleDocumentTypes and photos
Thanks - I'm aware of share extensions, but they appear above the sharing app and are totally separate from the main app's data. Using a share extension is going to require breaking down my code into frameworks and also finding ways to update shared data that the share extension can use from my main app. If I can simply open the image in my app (as in the example apps I mentioned above), then all of that complexity is gone.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’25
Comment on writeImageAtIndex:1012: ⭕️ ERROR: 'App' is trying to save an opaque image (5712x4284) with 'AlphaLast'.
I'm getting this warning too, apparently from calling heicData. Do I actually need to worry about this? It sounds like it just defaults to skipping the alpha and sort of fixes the problem itself, right?
Replies
Boosts
Views
Activity
Jan ’25
Comment on Image Playground Error: Cannot find protocol declaration for 'ImageGenerationViewControllerDelegate'
Thanks - this worked for me.
Replies
Boosts
Views
Activity
Jan ’25
Comment on Detecting Local Network issues with NWListener
@DTS Engineer This is on iOS and iPadOS - thanks for replying.
Replies
Boosts
Views
Activity
Jul ’24
Comment on Detecting Local Network issues with NWListener
This is on iOS and iPadOS.
Replies
Boosts
Views
Activity
Jun ’24
Comment on Multiple incoming connections on NWListener for single connection attempt
@ppix That's strange - I resolved this issue by only accepting the connection that reached .ready. The other three end up .canceled
Replies
Boosts
Views
Activity
Jun ’24
Comment on Sendability for Stream, InputStream, etc.
Thanks for the reply! I'd been hesitating to migrate to Network.framework but after reading your reply, I decided to give it a shot. It only took a few hours, and now this problem (and several others!) are resolved.
Replies
Boosts
Views
Activity
Jun ’24
Comment on How do I resolve conflicts with SwiftData?
Has anything changed with this answer with the announcement of iOS 18? Thanks!
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Jun ’24
Comment on Show a UIMenu on double-tap?
Thanks for the quick response, and the suggestion. If I went that route, would it still have to be two separate, spaced-out taps, i.e. one tap to focus, then we enable the menu, then the user taps again? Would a double-tap always get picked up as a single double-tap gesture?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’24
Comment on XCode15 debugger is working really slow with iOS 17.0.2
This worked for me. It's a pain to not have wi-fi on my MacBook, but at least debugging works again. Thank you!
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’24
Comment on How do I resolve conflicts with SwiftData?
Thanks for getting back. In that case, what is the default policy if there's a conflict between the local data and what's stored on the server? And is there any way to handle broken references (a local model refers to another model, which has been deleted from the server by some other device)?
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
May ’24
Comment on How do I resolve conflicts with SwiftData?
Thanks, but that doesn't specifically answer my question about SwiftData. I'm aware of how to resolve conflicts with CloudKit, but since SwiftData handles CloudKit syncing internally, I'm looking for a method that works with SwiftData.
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
May ’24
Comment on Hyperlinks open in Web browser instead of embedded WKWebView using Swift5/SwiftUI
Won't UIApplication#open actually open the other app?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’24
Comment on Add addtional document type
Thanks - this works for me! Definitely looks like a bug.
Replies
Boosts
Views
Activity
Feb ’24
Comment on Live Preview Not Working for UIKit Unless I raise Deployment Target to iOS 17
Thanks - this solved my problem!
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’23