Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Minimum iOS to 12.0 #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions SVPinView.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = "$(SRCROOT)/SVPinView/Resources/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 12;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = in.svemuri.SVPinView;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand All @@ -355,6 +356,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = "$(SRCROOT)/SVPinView/Resources/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 12;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = in.svemuri.SVPinView;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand Down
2 changes: 2 additions & 0 deletions SVPinView/Source/Classes/SVPinView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public class SVPinView: UIView {

public var font: UIFont = UIFont.systemFont(ofSize: 15)
public var keyboardType: UIKeyboardType = UIKeyboardType.phonePad
public var autoCapitalization : UITextAutocapitalizationType = .none
public var keyboardAppearance: UIKeyboardAppearance = .default
public var becomeFirstResponderAtIndex: Int? = nil
public var isContentTypeOneTimeCode: Bool = true
Expand Down Expand Up @@ -343,6 +344,7 @@ extension SVPinView : UICollectionViewDataSource, UICollectionViewDelegate, UICo
textField.textContentType = .oneTimeCode
}
textField.keyboardType = self.keyboardType
textField.autocapitalizationType = self.autoCapitalization
textField.keyboardAppearance = self.keyboardAppearance
textField.inputAccessoryView = self.pinInputAccessoryView

Expand Down