Skip to content

khantthulinn/ImageInHorizontalScrollView

Repository files navigation

Images In Horizontal Scroll View

Description

Allow to show images from web in horizontal scrollview using EgoImageView and tap on image to show full screen image.

Usuage

Usuage icon


#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] ;

Acknowledgement

EgoImageView, MBProgressHUD, MWPhotoBrowser, PSTCollection, iCarousel , CBFrameHelpers

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published