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.

enter image description here

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

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -