文章来源:淘论文网   发布者: 毕业设计   浏览量: 33



还可以点击去查询以下关键词:
[KSPhotoBrowser]    [一个]    [定制]    [美的]    [图片]    [浏览器]    [KSPhotoBrowser 一个小定制而美的图片浏览器]   

项目介绍:

KSPhotoBrowserA beautiful photo browser with interactive dismissal animation.





Features

4 different interactive dismissal animations(Rotation, Scale, Slide).

3 different background styles(Blur Photo, Blur, Black).

2 different loading styles(Determinate, Indeterminate).

2 different pager styles(Dot, Text).

Support bounce animation.

Optimized for image which has a very large height.

Can display one or more images by providing either image urls or UIImage objects.

Follow-up

Support Landscape orientation browse.

Support video browse.

UsageDisplay images from urlsNSArray *urls = @[@'', @'']; NSMutableArray *items = @[].mutableCopy; for (int i = 0; i < urls.count; i++) { // Get the large image url NSString *url = [urls[i] stringByReplacingOccurrencesOfString:@'bmiddle' withString:@'large']; UIImageView *imageView = _imageViews[i]; KSPhotoItem *item = [KSPhotoItem itemWithSourceView:imageView imageUrl:[NSURL URLWithString:url]]; [items addObject:item]; } KSPhotoBrowser *browser = [KSPhotoBrowser browserWithPhotoItems:items selectedIndex:0]; [browser showFromViewController:self];Display images from UIImage objectsNSArray *names = @[@'a.jpg', @'b.jpg']; NSMutableArray *items = @[].mutableCopy; for (int i = 0; i < names.count; i++) { UIImageView *imageView = _imageViews[i]; KSPhotoItem *item = [KSPhotoItem itemWithSourceView:imageView image:[UIImage imageNamed:names[i]]]; [items addObject:item]; } KSPhotoBrowser *browser = [KSPhotoBrowser browserWithPhotoItems:items selectedIndex:0]; [browser showFromViewController:self];InstallationCocoapods

Update cocoapods to the latest version.

Add pod 'KSPhotoBrowser' to your Podfile.

Run pod install or pod update.

Import KSPhotoBrowser.h.

Manually

Download all the files of KSPhotoBrowser and add source files to your project.

Manually install YYWebImage to your project.

Import KSPhotoBrowser.h.

Requirements

This library requires iOS 8.0+ and Xcode 8.0+.

https://github.com/skx926/KSPhotoBrowser

中文介绍

查看中文介绍

论文开题报告


这里还有:


还可以点击去查询:
[KSPhotoBrowser]    [一个]    [定制]    [美的]    [图片]    [浏览器]    [KSPhotoBrowser 一个小定制而美的图片浏览器]   

请扫码加微信 微信号:sj52abcd


下载地址: http://www.taolw.com/down/7952.docx
  • 上一篇:基于AVPlayer封装的视频播放器,功能丰富,快速集成,可定...
  • 下一篇:swift3.0写的仿半糖App,初毕业设计学swift,写的不好,多多指教