Is file:/// protocol supported?
macpraveen opened this issue · comments
I am trying to load images from local folder instead of http. But it does not seem to load. If this is not supported how can I implement this.
@macpraveen get all your folder images and create a MHGalleryItem using this:
+ (instancetype)itemWithImage:(UIImage*)image;
then add all MHGalleryItems in an array and pass that array to the gallery instance.
Oh great. I will try it and let you know.
Thanks
On Monday, April 27, 2015, Konstantinos K. notifications@github.com wrote:
@macpraveen https://github.com/macpraveen get all your folder images
and create a MHGalleryItem using this:
- (instancetype)itemWithImage:(UIImage*)image;
then add all MHGalleryItems in an array and pass that array to the gallery
instance.—
Reply to this email directly or view it on GitHub
#92 (comment)
.
i this case it would be better to use the delegate Methode - (MHGalleryItem*)itemForIndex:(NSInteger)index; instead of using the galleryItems Array...
@mariohahn 👍 thanks