ios - presentAudioRecordingControllerWithOutputURL not recognized in WatchKit project -
i have existing project watchkit , new watchos release apple have implemented method called presentaudiorecordingcontrollerwithoutputurl
record audio applewatch.
when call method have 2 compilations errors. imagine have add or include more don't know have change in project.
errors:
/path/myproject watchkit extension/awmessagescontroller.m:278:56: 'wkaudiorecordingpresetwidebandspeech' unavailable: not available on ios /path/myproject watchkit extension/awmessagescontroller.m:277:11: 'presentaudiorecordingcontrollerwithoutputurl:preset:maximumduration:actiontitle:completion:' unavailable: not available on ios
presentaudiorecordingcontrollerwithoutputurl
cannot used in ios extension. have migrate code appropriately (e.g., copy files watch target). refer apple's documentation.
Comments
Post a Comment