diff --git a/SmileLock-Example/SmileLock-Example/Info.plist b/SmileLock-Example/SmileLock-Example/Info.plist index 5ce55bb..10c25e4 100644 --- a/SmileLock-Example/SmileLock-Example/Info.plist +++ b/SmileLock-Example/SmileLock-Example/Info.plist @@ -28,6 +28,8 @@ LaunchScreen UIMainStoryboardFile PasswordLogin + NSFaceIDUsageDescription + Unlock it UIRequiredDeviceCapabilities armv7 diff --git a/SmileLock/Assets/Assets.xcassets/faceid.imageset/Contents.json b/SmileLock/Assets/Assets.xcassets/faceid.imageset/Contents.json new file mode 100644 index 0000000..0099257 --- /dev/null +++ b/SmileLock/Assets/Assets.xcassets/faceid.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "faceid.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "faceid@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "faceid@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/SmileLock/Assets/Assets.xcassets/faceid.imageset/faceid.png b/SmileLock/Assets/Assets.xcassets/faceid.imageset/faceid.png new file mode 100644 index 0000000..80720a3 Binary files /dev/null and b/SmileLock/Assets/Assets.xcassets/faceid.imageset/faceid.png differ diff --git a/SmileLock/Assets/Assets.xcassets/faceid.imageset/faceid@2x.png b/SmileLock/Assets/Assets.xcassets/faceid.imageset/faceid@2x.png new file mode 100644 index 0000000..213b72a Binary files /dev/null and b/SmileLock/Assets/Assets.xcassets/faceid.imageset/faceid@2x.png differ diff --git a/SmileLock/Assets/Assets.xcassets/faceid.imageset/faceid@3x.png b/SmileLock/Assets/Assets.xcassets/faceid.imageset/faceid@3x.png new file mode 100644 index 0000000..dd198b4 Binary files /dev/null and b/SmileLock/Assets/Assets.xcassets/faceid.imageset/faceid@3x.png differ diff --git a/SmileLock/Assets/PasswordContainerView.xib b/SmileLock/Assets/PasswordContainerView.xib index c538026..c585daa 100644 --- a/SmileLock/Assets/PasswordContainerView.xib +++ b/SmileLock/Assets/PasswordContainerView.xib @@ -1,8 +1,13 @@ - + + + + - + + + @@ -16,7 +21,7 @@ - + @@ -31,21 +36,21 @@ - + - + - + @@ -53,25 +58,25 @@ - + - - + + - - + + - - + + @@ -79,25 +84,25 @@ - + - + - + - + @@ -105,10 +110,10 @@ - + - - + +