crash in exapmle in xcode8 fixed.

This commit is contained in:
suzuki_keishi 2016-09-15 16:05:20 +09:00
parent 1704f37363
commit 26378bae91
2 changed files with 11 additions and 7 deletions

View File

@ -207,10 +207,12 @@ func didDismissAtPageIndex(index: Int) {
``` ```
#### Minor Option #### Options
- blackArea handling which is appearing outside of photo You can access via `SKPhotoBrowserOptions`, which can use for browser control.
- single tap handling, dismiss/noaction - single tap handling, dismiss/noaction
- blackArea handling which is appearing outside of photo
- bounce animation when appearing/dismissing - bounce animation when appearing/dismissing
- text color, font, or more
``` swift ``` swift
SKPhotoBrowserOptions.enableZoomBlackArea = true // default true SKPhotoBrowserOptions.enableZoomBlackArea = true // default true
SKPhotoBrowserOptions.enableSingleTapDismiss = true // default false SKPhotoBrowserOptions.enableSingleTapDismiss = true // default false

View File

@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>NSPhotoLibraryUsageDescription</key>
<string>for example, this app accesses the users photo library</string>
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
<string>en</string> <string>en</string>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>