iOS图片浏览器,控制器只支持竖屏,图片浏览器可横屏,缩放,下载 基于UICollectionView
基于UICollectionView的pagingEnabled属性,github链接https://github.com/DYLAN-LWB/WBImageBrowser//listAM 为包含图片地址的数组WBImageBrowserView *pictureBrowserView = [WBImageBrowserView pictureBrowsweViewW...
·
基于UICollectionView的pagingEnabled属性, github链接 https://github.com/DYLAN-LWB/WBImageBrowser
//listAM 为包含图片地址的数组
WBImageBrowserView *pictureBrowserView = [WBImageBrowserView pictureBrowsweViewWithFrame:[UIScreen mainScreen].bounds delegate:self browserInfoArray:listAM];
pictureBrowserView.orientation = self.interfaceOrientation;
pictureBrowserView.viewController = self;
pictureBrowserView.startIndex = 2; //开始索引
[pictureBrowserView showInView:[UIApplication sharedApplication].delegate.window];
更多推荐
已为社区贡献1条内容
所有评论(0)