using AVSystemController in iPhone App
问题 I want to reduce the ringing volume of iPhone programmatically, I came to know that it is possible with AVSystemController , But I know, it is a private method. If I use it, will apple reject the app or please suggest me the alternative way 回答1: - (void) setSystemVolumeLevelTo:(float)newVolumeLevel { Class avSystemControllerClass = NSClassFromString(@"AVSystemController"); id avSystemControllerInstance = [avSystemControllerClass performSelector:@selector(sharedAVSystemController)]; NSString