Playing Audio

In #ViewController.m

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>

 (more...)

Read System Volume Setting

Reading the current system audio volume


		MPMusicPlayerController *iPod = [MPMusicPlayerController iPodMusicPlayer];
		float volumeLevel = iPod.volume;
		NSLog(@"Volume: %f", volumeLevel);

(more…)