设置ios铃声

	NSMutableDictionary *custDict = [[NSMutableDictionary alloc] initWithContentsOfFile:@"/private/var/mobile/Media/iTues_Control/iTunes/Ringtones.plist"];
	NSMutableDictionary *dictionary = [custDict objectForKey:@"Ringtones"];
	NSArray *keys = [dictionary allKeys];
	id key = [keys objectAtIndex:indexPath.row];
	NSMutableDictionary *customRingtone = [dictionary objectForKey:key];
	NSString *name = [customRingtone objectForKey:@"Name"];
	cel.textLabel.text = name;
//http://pastebin.com/vAiQz9Xm
http://www.demogeek.com/2010/03/24/how-to-add-multiple-ringtones-to-your-iphone/

猜你喜欢

转载自cnkira.iteye.com/blog/1672803