![]() |
1
0
除非你在使用仪器测量时看到性能问题,否则我不认为复制两次是一个大问题。您总是可以直接存储cfdataref imgdata而不是mybuff。
编辑
在init:方法中:创建数组:
并且有一个DealLoc;
在保存每个图像的代码中:
|
![]() |
2
0
请参阅此答案: Does CGDataProviderCopyData() actually copy the bytes? Or just the pointer? 看起来直接访问cgdataProvider后面的缓冲区仅限于私有API。 |
![]() |
WkWk · Apple Watch动作通知不起作用 3 年前 |
![]() |
Otavio Miguel · 在手机中保留我自己未发布的ios应用 3 年前 |
![]() |
Nico Passaglia · 移动键盘向上移动站点 7 年前 |