Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 939 Bytes

README.md

File metadata and controls

36 lines (23 loc) · 939 Bytes

SYPhotoBrowser

A cute and lightweight photo browser like Tweetbot3.

Screen Shot

Requirments

  1. iOS 7.0 and above.

Dependency

Installation

To use SYPhotoBrowser

  1. Edit your Podfile, add one line code pod 'SYPhotoBrowser'
  2. Run 'pod update'
  3. #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.