iOS 8 uses Touch ID for authentication

  The minimum supported model of fingerprint identification function of iOS system is iPhone 5s, and the minimum supported system is iOS 8. Although the 5s model installed with iOS 7 system can use the fingerprint unlocking function provided by the system, the API is not open, so in theory, the third-party software cannot be u ...

Posted by grandman on Thu, 02 Jan 2020 19:56:04 -0800

iOS uses FMDB and FMDB migration manager to upgrade the database version

FMDB is generally used for data saving in iOS. Generally, fields will not be modified or added after being defined. If it is strict, we need to add the function of adding fields to the database. At present, FMDB and FMDB migration manager are used in the project to save the database version number and upgrade the database Acco ...

Posted by freddykhalid on Thu, 02 Jan 2020 13:50:06 -0800

Developing JSSDK of wechat web page in PHP or HTML

Recently, the company has developed several wechat pages for publicity, which mainly use JSSDK, and how to use it to share small icons and text descriptions with friends and friends. First, we need a certified service number to add our own server path under the public address Settings > function settings ->JS interface ...

Posted by jane on Tue, 31 Dec 2019 08:05:40 -0800

The UIButton of iOS expands the response area of the button

In the development process, we sometimes encounter that the buttons in the design diagram are designed to be very small. In this case, we will manually expand the response range of UIButton. Here are two solutions:   The first method: create a category: UIButton+EnlargeTouchArea .h file #import <UIKit/UIKit.h> @interface UIButton (Enla ...

Posted by RMcLeod on Tue, 31 Dec 2019 05:27:56 -0800

(5) Close page

Knowledge points in this section Three ways to close the page Close page Click the Mui action back key on the top navigation bar to return Right slide to close the page. It is closed by default Android click back The first is to execute the return event as long as there is one Right slide and click return need to be co ...

Posted by Thunderfunk on Fri, 27 Dec 2019 08:08:58 -0800

The problem of snapkit update constraint crash

Recently, when using snapkit layout, I found that updating constraints would cause crashes. Why?   checkButton.snp.makeConstraints { (make) in make.left.top.equalToSuperview() make.height.equalTo(radioListSubviewButtonHeight) make.width.equalTo(self).multipliedBy(0.5) } checkButt ...

Posted by polson on Tue, 24 Dec 2019 09:22:15 -0800

Flutter's multi-platform adapter mechanism is as simple as that

We all know that Flutter achieves multi-end consistency in the presentation layer and consistent UI effects through rendering on Android and iOS platforms.So if you're just developing a triple library for Android, iOS, and Web, what's a good idea? Flutter Network Request Can be used when developing Flutter http Core Library .You can also use o ...

Posted by narimanam on Sun, 22 Dec 2019 12:12:36 -0800

How to create a delegate in Objective-C?

I know how delegates work and I know how to use them. But how do I create it? #1st floor The approved answer is great, but if you're looking for a 1 minute answer, try the following: MyClass.h file should look like this (add annotated delegate line!) #import <BlaClass/BlaClass.h> @class MyClass; //define class, ...

Posted by legacyblade on Sat, 21 Dec 2019 07:14:10 -0800

Android basic controls (3)

10.ScrollView When the content to be displayed on the interface is larger than one screen, we will use scroll view or subclass of scroll view. ScrollView can only scroll up and down. However, HorizontalScrollView can only slide left and right. However, there can only be one view in the scrolling view, so it is common to place m ...

Posted by mw-dnb on Thu, 19 Dec 2019 13:49:52 -0800

HDU 2825 AC automaton + pressure DP

This problem is to give m words and find out the type of words with at least q words and length of n. I n this problem, we first create a Trie for the word, then dp[i][j][k] on the tree represents the jth node of I on the tree, using the result of scheme K, which means that part 1 in the binary of K indicates that it has been us ...

Posted by Neumy on Tue, 17 Dec 2019 07:20:36 -0800