iniyan
iniyan

Reputation: 131

Is there any alternate solution to mute ringer programmatically?

I'm working on an iphone application which used to mute the phone ringer programmatically.Currently I'm using celestial.framework to mute,but I come across that the apple will reject using private framework.Please anybody give right solution to achieve it.I'm new to iOS development.Thanks

Class avSystemControllerClass = NSClassFromString(@"AVSystemController");
NSString *soundCategory = @"Ringtone";
float newVolumeLevel = 0.0;

Upvotes: 0

Views: 412

Answers (0)

Related Questions