Allow to show images from web in horizontal scrollview using EgoImageView and tap on image to show full screen image.
#import "HeaderWithOrientatedImage.h"
Set up data
NSDictionary *firstImg = @{@"caption":@"First", @"file_url":@"http://www.vanityfair.com/politics/2012/12/burma-aung-san-suu-kyi/_jcr_content/par/cn_contentwell/par-main/cn_pagination_contai/cn_image.size.aung-san-suu-kyi.jpg"};
NSMutableArray *muArr = [NSMutableArray arrayWithObjects:firstImg,secondImg,thirdImg, fouthImg, nil];
Set up HeaderWithOrientatedImage
self.vwHeaderWithOrientatedImage = [HeaderWithOrientatedImage loadFromNib];
self.vwHeaderWithOrientatedImage.imageGalleryIdx = ImageGalleryCollection;
Input data into HeaderWithOrientatedImage
[self.vwHeaderWithOrientatedImage setData:@{@"files":muArr}];
Add as subview
[self.view addSubview:self.vwHeaderWithOrientatedImage]
;
EgoImageView, MBProgressHUD, MWPhotoBrowser, PSTCollection, iCarousel , CBFrameHelpers