Post

Replies

Boosts

Views

Activity

How to add support for Siri / Apple Intelligence to my existing AppEntity?
iOS 18 adds a specific macro for exposing your search app intent, app entities, etc, to siri but how are you meant to add it to your existing objects without removing it entirely from < iOS 18 users? For example, i get the following error: AssistantIntent(schema:) is only available in iOS 18 or newer. Add @available attribute to enclosing struct. I don't want to do that since i still want to support iOS 17 users with my existing shortcuts. Do i need to duplicate my entire shortcuts model to add the new macro?
1
0
986
Jun ’24
ApplicationMusicPlayer on macOS doesn’t work with AirPlay (AVRoutePickerView)
I’m using the new ApplicationMusicPlayer support on macOS 14 and playing items from my Apple Music library. I wanted to play this music from my app to an AirPlay destination so i added an AVRoutePickerView. However, selecting any destination via this view doesn’t make a difference to the playback. It continues to play on my mac speakers no matter which airplay destination i choose. Also submitted as FB13521393.
0
1
714
Jan ’24
How can I change AVCaptureDevice.studioLightControlMode?
I would expect the AVCaptureDevice.isStudioLightEnabled property to mirror the behaviour of AVCaptureDevice.isCenterStageEnabled however, I get the following exception when attempting to change it: Thread 1: "*** +[AVCaptureDevice _setStudioLightEnabled:forcedSet:] May not be set when +studioLightControlMode == AVCaptureStudioLightingControlModeUser" I can't seem to find any other reference to this studioLightControlMode property. I'd like to change it to AVCaptureStudioLightingControlModeApp like I can with AVCaptureCenterStageControlMode.
0
0
674
Oct ’22