SYPhotoBrowser
SYPhotoBrowser copied to clipboard
A cute and lightweight photo browser like Tweetbot3.
SYPhotoBrowser
A cute and lightweight photo browser like Tweetbot3.
Screen Shot
Requirments
- iOS 7.0 and above.
Dependency
Installation
To use SYPhotoBrowser
- Edit your
Podfile
, add one line codepod 'SYPhotoBrowser'
- Run 'pod update'
-
#import <SYPhotoBrowser/SYPhotoBrowser.h>
Quickstart
SYPhotoBrowser *photoBrowser = [[SYPhotoBrowser alloc] initWithImageSourceArray:self.urlArray caption:@"This is caption label" delegate:self];
photoBrowser.initialPageIndex = indexPath.row;
photoBrowser.pageControlStyle = SYPhotoBrowserPageControlStyleLabel;
[self presentViewController:photoBrowser animated:YES completion:nil];
License
The MIT License.