Changes between Version 80 and Version 81 of Getting-Started/iPhone
- Timestamp:
- Jul 29, 2015 3:42:57 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Getting-Started/iPhone
v80 v81 193 193 For example, to enable audio route via bluetooth, application can override audio session category option with {{{AVAudioSessionCategoryOptionAllowBluetooth}}}: 194 194 {{{ 195 [[ [AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayAndRecord withOptions:AVAudioSessionCategoryOptionAllowBluetooth error:nil];195 [[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayAndRecord withOptions:AVAudioSessionCategoryOptionAllowBluetooth error:nil]; 196 196 }}} 197 197