SCAvatarBrowser
is a powerful and lightweight tool to create the view used to enlarge photos from their avatar previews.
By using SCAvatarBrowser
, you can make your avatar scalable, draggable and storable within just one line.
[SCAvatarBrowser showImage:self.avatar];
Using Pod
pod 'SCAvatarBrowser'
Or drag SCAvatarBrowser.h
and SCAvatarBrowser.m
files into your project, and then include "SCAvatarBrowser.h
" where needed, or in your precompiled header.
The project uses ARC and targets iOS 7.0+.
#import "SCAvatarBrowser.h"
...
...
...
- (void)showAvatarDetailView {
[SCAvatarBrowser showImageView:self.avatar];
}
Create one example(added 2015/09/04)Support for drag and sacle(added 2015/09/08)Support for store image to local photo library(added 2015/09/08)Add CocoaPods spec(added 2015/11/11)
All source code is licensed under the MIT License.