How to take 30 screenshots in a second in an iOS d

2019-08-22 09:47发布

问题:

In my iOS app, I am using NSTime to invoke a method which takes screenshot of the device screen. I am taking 30 screenshots per second. On simulator its working fine (as the processor of Mac is far more powerful than iPad). But it takes less number of screenshots in actual device. How can I do this? Any reliable alternative for timer? Please help