Skip to content

Draw progress or metering when using AVAudioPlayer / AVAudioRecorder for iOS

Notifications You must be signed in to change notification settings

yuchism/UCPlotView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UCPlotView

Draw progress or metering when using AVAudioPlayer / AVAudioRecorder for iOS

alt tag

How to use

ProgressMode

self.progressView.mode = UCPlotViewModeProgress;
self.progressView.progressColor = [UIColor redColor];
self.progressView.plotColor = [UIColor blueColor];
[self.progressView setPeaks:@[@0.1,@0.2,@0.5,@1.0]];

self.progressView.progress = .5;

MeteringMode

self.incrementView.mode = UCPlotViewModeMetering;
[self.incrementView addCurrentPeak:@0.5];

About

Draw progress or metering when using AVAudioPlayer / AVAudioRecorder for iOS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published