https://github.com/zhujiaming/xuiimagepreviewer
使用swift实现的iOS端图片预览工具
https://github.com/zhujiaming/xuiimagepreviewer
ios photos swfit xcode
Last synced: 12 months ago
JSON representation
使用swift实现的iOS端图片预览工具
- Host: GitHub
- URL: https://github.com/zhujiaming/xuiimagepreviewer
- Owner: zhujiaming
- Created: 2023-05-17T15:41:19.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-20T04:26:59.000Z (almost 3 years ago)
- Last Synced: 2025-02-05T07:28:21.452Z (about 1 year ago)
- Topics: ios, photos, swfit, xcode
- Language: Swift
- Homepage:
- Size: 828 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### XUIImagePreviewer
使用swift实现的iOS端图片预览工具
### Main Class
`UIImagePreviewController`
Params:
- `imageArray` : UIImage Array
- `position` : the location of the first image to be displayed
- `bgColor` : page background color
### Usage
```swift
self?.navigationController?.pushViewController(UIImagePreviewController(imageArray: targets, bgColor: .black), animated: true)
```
### SnapShot

### Else
[过程与问题记录](./%E8%BF%87%E7%A8%8B%E4%B8%8E%E9%97%AE%E9%A2%98%E8%AE%B0%E5%BD%95.md)