iOS Network fingerprint recognition small attempt

Source: Internet
Author: User

There seems to be no pop-up window for fingerprint identification.

Put a little demo on it first.

To import the fingerprint recognition Framework Oh!

  viewcontroller.m//  Fingerprint identification////  Created by Chen on 15/2/16.//  Copyright (c) 2015 LANRW. All rights reserved.//#import "ViewController.h" #import <localauthentication/localauthentication.h>@ Interface Viewcontroller () @end @implementation viewcontroller-(void) viewdidload {    [super viewdidload];    Instantiate    Lacontext *lac = [[Lacontext alloc]init];    Determine if the device supports fingerprint recognition    BOOL issupport = [Lac canevaluatepolicy:lapolicydeviceownerauthenticationwithbiometrics error: NULL];    if (!issupport)    {        NSLog (@ "is not supported!) ");        return;    }    [Lac evaluatepolicy:lapolicydeviceownerauthenticationwithbiometrics localizedreason:@ "Press handprint" reply:^ (BOOL success, Nserror *error) {        if (success)        {            NSLog (@ "After success, processing the next logic");        }    ];} @end



http://pan.baidu.com/s/1i3Hz72t

iOS Network fingerprint recognition small attempt

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.