0
点赞
收藏
分享

微信扫一扫

iOS AVAudioSession 详解

产品喵dandan米娜 2023-10-05 阅读 79
ios

iOS AVAudioSession 详解 - 简书

默认没有options,category 7种即可满足条件

- (BOOL)setCategory:(AVAudioSessionCategory)category error:(NSError **)outError API_AVAILABLE(ios(3.0), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);

有options,category 7种不满足条件,使用options组合操作

- (BOOL)setCategory:(AVAudioSessionCategory)category

withOptions:(AVAudioSessionCategoryOptions)options

  error:(NSError **)outError

举报

相关推荐

0 条评论