From 26378bae9105652f200f607b0cd57c35e1ae9d06 Mon Sep 17 00:00:00 2001 From: suzuki_keishi Date: Thu, 15 Sep 2016 16:05:20 +0900 Subject: [PATCH] crash in exapmle in xcode8 fixed. --- README.md | 6 ++++-- .../SKPhotoBrowserExample/Info.plist | 12 +++++++----- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 80662f5..94a5b8b 100644 --- a/README.md +++ b/README.md @@ -207,10 +207,12 @@ func didDismissAtPageIndex(index: Int) { ``` -#### Minor Option -- blackArea handling which is appearing outside of photo +#### Options +You can access via `SKPhotoBrowserOptions`, which can use for browser control. - single tap handling, dismiss/noaction +- blackArea handling which is appearing outside of photo - bounce animation when appearing/dismissing +- text color, font, or more ``` swift SKPhotoBrowserOptions.enableZoomBlackArea = true // default true SKPhotoBrowserOptions.enableSingleTapDismiss = true // default false diff --git a/SKPhotoBrowserExample/SKPhotoBrowserExample/Info.plist b/SKPhotoBrowserExample/SKPhotoBrowserExample/Info.plist index 594968e..00aa1ec 100644 --- a/SKPhotoBrowserExample/SKPhotoBrowserExample/Info.plist +++ b/SKPhotoBrowserExample/SKPhotoBrowserExample/Info.plist @@ -2,6 +2,8 @@ + NSPhotoLibraryUsageDescription + for example, this app accesses the user’s photo library CFBundleDevelopmentRegion en CFBundleExecutable @@ -46,10 +48,10 @@ UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight - NSAppTransportSecurity - - NSAllowsArbitraryLoads - - + NSAppTransportSecurity + + NSAllowsArbitraryLoads + +