Skip to content

Commit

Permalink
Force modalPresentationStyle fullScreen
Browse files Browse the repository at this point in the history
  • Loading branch information
s4cha committed Oct 2, 2019
1 parent 4dd6185 commit 129a41e
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 3 deletions.
Binary file modified Carthage/Build/iOS/YPImagePicker.framework/Assets.car
Binary file not shown.
Binary file modified Carthage/Build/iOS/YPImagePicker.framework/Info.plist
Binary file not shown.
Binary file modified Carthage/Build/iOS/YPImagePicker.framework/YPImagePicker
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions Source/YPImagePicker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ open class YPImagePicker: UINavigationController {
YPImagePickerConfiguration.shared = configuration
picker = YPPickerVC()
super.init(nibName: nil, bundle: nil)
modalPresentationStyle = .fullScreen // Force .fullScreen as iOS 13 now shows modals as cards by default.
picker.imagePickerDelegate = self
}

Expand Down
Binary file modified YPImagePicker.framework.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion YPImagePicker.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'YPImagePicker'
s.version = "4.1.1"
s.version = "4.1.2"
s.summary = "Instagram-like image picker & filters for iOS"
s.homepage = "https://github.com/Yummypets/YPImagePicker"
s.license = { :type => "MIT", :file => "LICENSE" }
Expand Down
4 changes: 2 additions & 2 deletions YPImagePicker.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 4.1.1;
MARKETING_VERSION = 4.1.2;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.yummypets.YPImagePicker;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -863,7 +863,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 4.1.1;
MARKETING_VERSION = 4.1.2;
ONLY_ACTIVE_ARCH = NO;
PRODUCT_BUNDLE_IDENTIFIER = com.yummypets.YPImagePicker;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down

0 comments on commit 129a41e

Please sign in to comment.