iosurface

IOSurface gradually increases memory in iOS 12 and above

馋奶兔 提交于 2021-02-07 11:58:17
问题 I am facing memory issue in my app for iOS 12 and above versions. IOSurface gradually increases simultaneously in iOS 12.1.1 where as it works fine in iOS 11 versions. I have attached the issue screenshot below, Why this issue happens in iOS 12 versions? Can someone help me how to solve this? I cross checked in iOS 11 versions and it works fine. 回答1: Do you use camera ? It may depends on camera. Size of IOSurface bock: 8372224 bytes = 1960*1080*4 来源: https://stackoverflow.com/questions

Trying to do screen capture with private framework IOSurface no longer seems to work in iOS 9

[亡魂溺海] 提交于 2019-12-03 17:31:19
问题 I'm working on an existing (non app-store) app for a client that uses the IOSurface private framework to do screen captures while in the background. There are a few threads here on SO that outline the technique, as well as several open source example projects. Again, this is an internal application used by the client. It isn't intended for app-store release, so the fact that it uses private frameworks is acceptable. Here is an example project on Github that uses a very similar technique:

Trying to do screen capture with private framework IOSurface no longer seems to work in iOS 9

南笙酒味 提交于 2019-12-03 06:12:57
I'm working on an existing (non app-store) app for a client that uses the IOSurface private framework to do screen captures while in the background. There are a few threads here on SO that outline the technique, as well as several open source example projects. Again, this is an internal application used by the client. It isn't intended for app-store release, so the fact that it uses private frameworks is acceptable. Here is an example project on Github that uses a very similar technique: https://github.com/k06a/UIView-FastScreenshot I just tried to run the client's app on the latest iOS 9 beta