Post

Replies

Boosts

Views

Activity

Reply to Differentiate between Homescreen click and Lock Screen click
Much later - my use case is around a managing a hotspot connection which I use to to control a device. (using NEHotspotConfigurationManager) When the user launches the app, then I connect to the known hotspot. Obviously that puts up an alert for them to accept. When the app is minimised (user is switching to another app) - then I want to remove the hotspot configuration so that I return the device to the prior state. When the device is simply locked, I don't want to remove the configuration because then I'll have to put up another prompt to reconnect as soon as the user unlocks. any suggestions? illustration: App Launches -> Prompt user to connect to hotspot Device Locks -> Nothing (it will be normal for them to spend an hour or so in this state) Device Unlocks -> Nothing App Minimised -> Remove hotspot config, return device to initial state Currently, I have App Launches -> Prompt user to connect to hotspot Device Locks -> Remove hotspot config, return device to initial state Device Unlocks -> Have to prompt the user again to connect App Minimised -> Remove hotspot config, return device to initial state
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’22
Reply to lldb issues with Vision
I see this all the time in macos now. I have had to move my vision code to XPC to avoid the repeated crashing
Replies
Boosts
Views
Activity
May ’25
Reply to Max 16k images for Image Classifier training????
looks like this may be another Sonoma special. The same model code builds fine on an 8gb mac mini running 14.5
Replies
Boosts
Views
Activity
Oct ’24
Reply to "IOSurface creation failed" drawing to CGContext
I'm seeing the same issue. Frustrating not to be able to find any info... Similar case - generating thumbnails, though in this case for ML analysis
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Differentiate between Homescreen click and Lock Screen click
Much later - my use case is around a managing a hotspot connection which I use to to control a device. (using NEHotspotConfigurationManager) When the user launches the app, then I connect to the known hotspot. Obviously that puts up an alert for them to accept. When the app is minimised (user is switching to another app) - then I want to remove the hotspot configuration so that I return the device to the prior state. When the device is simply locked, I don't want to remove the configuration because then I'll have to put up another prompt to reconnect as soon as the user unlocks. any suggestions? illustration: App Launches -> Prompt user to connect to hotspot Device Locks -> Nothing (it will be normal for them to spend an hour or so in this state) Device Unlocks -> Nothing App Minimised -> Remove hotspot config, return device to initial state Currently, I have App Launches -> Prompt user to connect to hotspot Device Locks -> Remove hotspot config, return device to initial state Device Unlocks -> Have to prompt the user again to connect App Minimised -> Remove hotspot config, return device to initial state
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’22