Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 iOS 6 中,我通过以下代码获取时间:
MPMusicPlayerController *controller = [MPMusicPlayerController iPodMusicPlayer]; float volume = [controller volume];
在 iOS 7 中,我不能这样做。我怎样才能做到这一点?
MPMusicPlayerController属性量 已弃用iOS7
MPMusicPlayerController
iOS7
@property(nonatomic) float volume NS_DEPRECATED_IOS(3_0, 7_0);