IPhone : Is there any alternate solution to mute ringer programmatically?

on Sunday, March 29, 2015

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 let me know whether it is true , if true 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;

0 comments:

Post a Comment