Skip to content

Commit

Permalink
Merge pull request #41 from recruit-lifestyle/develop
Browse files Browse the repository at this point in the history
fix. Xcode9.2 biometryType error
  • Loading branch information
liu044100 authored Jan 24, 2018
2 parents 58e0a6f + cd59ca9 commit aa40630
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
{
"images" : [
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "3x"
},
{
"idiom" : "iphone",
"size" : "29x29",
Expand Down Expand Up @@ -31,6 +41,16 @@
"size" : "60x60",
"scale" : "3x"
},
{
"idiom" : "ipad",
"size" : "20x20",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "20x20",
"scale" : "2x"
},
{
"idiom" : "ipad",
"size" : "29x29",
Expand Down Expand Up @@ -65,6 +85,11 @@
"idiom" : "ipad",
"size" : "83.5x83.5",
"scale" : "2x"
},
{
"idiom" : "ios-marketing",
"size" : "1024x1024",
"scale" : "1x"
}
],
"info" : {
Expand Down
3 changes: 2 additions & 1 deletion SmileLock.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "SmileLock"
s.version = "3.0.1"
s.version = "3.0.2"
s.summary = "A library for make a beautiful Passcode Lock View."
s.description = <<-DESC
1. Create a beautiful passcode lock view simply.
Expand All @@ -22,5 +22,6 @@ Pod::Spec.new do |s|
s.source_files = 'SmileLock/Classes/*.{swift}'
s.resources = 'SmileLock/Assets/*'
s.frameworks = 'UIKit'
s.weak_framework = 'LocalAuthentication'

end
2 changes: 1 addition & 1 deletion SmileLock/Classes/PasswordContainerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ open class PasswordContainerView: UIView {
var image = touchAuthenticationButton.imageView?.image?.withRenderingMode(.alwaysTemplate)

if #available(iOS 11, *) {
if touchIDContext.biometryType == .typeFaceID {
if touchIDContext.biometryType == .faceID {
let bundle = Bundle(for: type(of: self))
image = UIImage(named: "faceid", in: bundle, compatibleWith: nil)?.withRenderingMode(.alwaysTemplate)
}
Expand Down

0 comments on commit aa40630

Please sign in to comment.