TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Aug 2017 |
Maintained by Pavel Alexeev.
iOS library implementing fullscreen and in-place image gallery similar to Facebook and VK applications.
To run the example project, clone the repo, and run pod install
from the Example directory first.
Minimum iOS Target – iOS 7.
AFNetworking is used to download images.
PAGalleryView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "PAGalleryView"
##Usage
Simple example:
NSArray *images = @[
[[NSBundle mainBundle] URLForResource:@"image_1" withExtension:@"jpg"],
[[NSBundle mainBundle] URLForResource:@"image_2" withExtension:@"jpg"],
[[NSBundle mainBundle] URLForResource:@"image_3" withExtension:@"jpg"],
];
self.galleryView.imageURLs = images;
Using fullscreen images:
self.galleryView.imageURLs = images;
self.galleryView.fullScreenImageURLs = fullScreenImages;
self.galleryView.errorImage = [UIImage imageNamed:@"errorImage"];
Pavel Alexeev, [email protected]
PAGalleryView is available under the MIT license. See the LICENSE file for more info.