[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

Play with iOS "macro definition"

The definition of macro is very important in class C language, because macro is a function of precompiling, so it can control program flow at a higher level than runtime. When you first learn the definition of macro, you may have the feeling that it's a complete replacement. It's too simple. But if you really think so, you will be naive, not to ...

Added by Consolas on Wed, 22 Apr 2020 12:57:31 +0300

Pure js realizes full screen icon rotation chart, and custom icon display quantity

Home icon carousel Function requirements: automatically generate page content according to the number of icons, complete the rotation chart of icon buttons; with the browser window zooming, make the page content automatically zooming; Extension: the number of icons per page and line can be displayed b ...

Added by colemanm on Tue, 28 Jan 2020 16:20:09 +0200

iOS Aurora sharing integrated graphics tutorial (latest version in 2020)

Article directory iOS Aurora sharing integrated graphic tutorial 1. iOS SDK integration guide of Aurora official website 2. Xcode creates a project and obtains the Bundle Identifier 3. Aurora platform application management create application and apply for appkey 4. Xcode project, pod import library ...

Added by thegreatdanton on Thu, 16 Jan 2020 18:05:40 +0200

pod install abort perfect solution

Background: Updated system 10.12.6, Xcode 9, IOS 11.0.1 Error: pod install abort To solve reverse push: you need to upgrade Ruby Version to 2.2.2; you need to upgrade Homebrew Version (uninstall and reinstall); you need to upgrade common line tools; Step 1: install HomeBrew / uninstall the update #Why update HomeBrew? // ...

Added by jej1216 on Mon, 06 Jan 2020 01:22:23 +0200

30 lines of code to demonstrate the dispatch [once deadlock]

30 lines of code to demonstrate the dispatch [once deadlock] If you encounter a crash like the following, you may also encounter a dispatch [once] deadlock. Thread 0 Crashed: 0 libsystem_kernel.dylib 0x00000001917718e8 __ulock_wait + 8 1 libdispatch.dylib 0x00000001916419d0 _dispatch_unfair_lock_ ...

Added by lisa71283 on Thu, 02 Jan 2020 14:24:26 +0200

Shake sharing and authorization

Preparation Register for appkeyIntegrated sharesdk (download address)Xcode configuration: urlScheme is the registered appkey, white list: douyinsharesdk, douyinopensdkBusiness code Initialization import <ShareSDK/ShareSDK.h> [ShareSDK registPlatforms:^(SSDKRegister *platformsRegister) { //Jitter [platformsRegister setupDouyinByAppKey:@"ap ...

Added by dennyx on Sat, 30 Nov 2019 11:21:00 +0200

Brush Quantity and Cheating in APP Activities

This article is excerpted from Jiuyin Zhenjing: The Secret Book of iOS Hackers'Attack and Defense In today's mobile Internet era, App in the platform will do some preferential activities in order to increase popularity, but in fact, the activation, registration and preferential activities of App may be ...

Added by 7pm on Thu, 01 Aug 2019 10:29:47 +0300

Sprite Kit Tutorial: Making a Common Program 2

Original Link: http://www.cnblogs.com/riasky/p/3459276.html Note 1: This text was translated from Sprite Kit Tutorial: Making a Universal App: Part 2   Catalog Definition of animation: feasibility Attribute List Add Game Logic Add Soun ...

Added by Das Capitolin on Sat, 20 Jul 2019 19:14:49 +0300

Learning Object-C classes and functions from command-line programs

[experimental environment] Playing IOS on virtual machines really makes people want to raise their desks (')( Pro-test VMWare12, MACOS 10.10.5, Xcode 7.2 can be compatible with each other, the highest supported IOS version is 9.2, with download address, installation tutorial can Baidu itself. VMWare WorkStations 12: Link: http://pan.baidu.com ...

Added by countcet on Sun, 07 Jul 2019 22:46:40 +0300