Use This tutorial, No-need-jailbreak version can have auto-lock screen function. You need open [lock screen] button in bot and set sleep seconds like 900. And set 30 seconds auto lock screen in Settings App of device. Don’t set unlock password. If you don’t need auto-lock screen function, this tutorial can avoid game crash too. iPhone6 and other devices before ，RAM is lower than 1G，game will crash when search times more than 400 or 500. If your device is iOS 12.1.2 and before, you can jailbreak it and install jailbreak version of Bot, which will auto-launch game after game crash and keep running. Other iOS 12 device which can’t jailbreak can use this shortcut.
1. Search and install Shortcuts app from App Store
2. After installed it, open it and click begin to use it.
3. Click me to get our shortcut ( After click, it will go to Shortcuts and wait seconds, our shortcut will be downloaded. The shortcut updated on 2019-07-28, you can click button to get the newest shortcut. )
4. Its name is COC Help
5. Open COC game and run Bot, then press home button to desktop and open Shortcut, click this button
6. run our shortcut, then it will auto open game. Let Bot run. Shortcuts will play a little sound, you can mute the device or plug in a headphone.
7. Click here to stop shortcut when you need to stop it.