[iOS] prevent users from screenshots

[iOS] prevent users from screenshots Yesterday, the product asked me for new requirements, saying that the boss thought the information in the app was very important, and asked to add restrictions on users' screenshots. At that time, I refused. I told him that this could not be realized. The screenshot of Home+Power was that the system oper ...

Added by AShain on Sat, 02 May 2020 15:07:36 +0300

Detection and response of url in iOS UITextView

Style 1 custom url Style 2 get range of url 3 set all textView text styles Method 1 use gestures Method 2: using textView's proxy method Style 1. Custom url Style + (NSDictionary *)getURLAttributeDict{ NSMutableDictionary *attributes = (NSMutableDictionary *)[StringTools getContentAttributeDict]; [attributes setObject:[ ...

Added by evolve4 on Sat, 02 May 2020 14:26:06 +0300

Fastlane automated packaging notes

Install fastlane github warehouse: https://github.com/fastlane/fastlane fastlane official website: https://docs.fastlane.tools/ fastlane actions: https://docs.fastlane.tools/actions/ A configuration document: https://www.jianshu.com/p/0a113f754c09 Upload to dandelion: https://www.pgyer.com/doc/view/fastlane An example of a custom lanes group: h ...

Added by stc7outlaw on Thu, 30 Apr 2020 12:03:09 +0300

Asymmetric encryption algorithm in PHP

PHP uses asymmetric encryption algorithm (RSA) In the daily design and development, in order to ensure the security of data transmission and data storage, the clear data can be encrypted into complex ciphertext by specific algorithm. At present, the mainstream encryption methods can be roughly divided into one-way encryption and two-way encryp ...

Added by czukoman20 on Tue, 21 Apr 2020 06:17:09 +0300

The practice of real native incremental update for iOS client

Existing solutions in the market: Microsoft's CodePush And react native Pushy , you can choose according to the actual situation of the company. In consideration of security, the company is forbidden to upload source related files to the third-party platform, so it is necessary to implement it by itself. Main impleme ...

Added by deffe on Tue, 14 Apr 2020 21:56:20 +0300

Xamarin.Forms Client First Edition

As a sub-process module of TerminalMACS, the first edition is currently completed: reading basic mobile information, contact information, application localization. Functional introduction Detailed Functional Description About TerminalMACS 1. Functional introduction 1.1. Read basic mobile information Use the Xamarin.Essentials library to get ...

Added by vargadanis on Sat, 04 Apr 2020 14:42:57 +0300

React native opens the setting interface

iOS iOS open settings are relatively simple. You can use the Linking component to: Linking.openURL('app-settings:') .catch(err => console.log('error', err)) Android 1. Create the opensettings folder under the Android / APP / SRC / main / Java / COM / < ProjectName > / folder 2. In this folder, create the module file OpenSettingsModul ...

Added by Emperor_Jackal on Thu, 02 Apr 2020 20:45:53 +0300

iOS development AR

tool Xcode9 iOS 11 New project Here, you don't need to do anything, start the project and you can see a plane. Keywords and key categories Key words: scene view, scene, geometry, node, renderer (all literal translation, self understanding according to class name) Key categories: ARSCNView, SCNScene, SCNGeometry, SCNNode, SCNMate ...

Added by woocha on Wed, 01 Apr 2020 03:19:39 +0300

HDU 3949 XOR (linear basis, template)

Description XOR is a kind of bit operator, we define that as follow: for two binary base number A and B, let C=A XOR B, then for each bit of C, we can get its value by check the digit of corresponding position in A and B. And for each digit, 1 XOR 1 = 0, 1 XOR 0 = 1, 0 XOR 1 = 1, 0 XOR 0 = 0. And we simply write this operat ...

Added by DrDankWD on Sun, 29 Mar 2020 20:28:20 +0300

FPS for iOS Performance Monitoring

FPS.gif Example Github: WSL_FPS FPS: Short for Frames Per Second, it means the number of frames transmitted per second, which can be understood as what we often call "refresh rate" (in Hz); FPS measures the amount of information used to store and display dynamic videos.The more frames per second, the smoother the p ...

Added by riffy on Wed, 18 Mar 2020 18:21:10 +0200