ios - How to get know that CGContext is drawing to screen -



ios - How to get know that CGContext is drawing to screen -

i want know current cgcontext used image, pdf or screen drawing. in cocoa utilize [[nsgraphicscontext currentcontext] isdrawingtoscreen] ([nsgraphicscontext currentcontextdrawingtoscreen] on 10.10). how can same info cgcontext?

contrary desktop, on ios there's no direct drawing screen views layer backed. question is: how can tell if current context used fill contents of layer?

i'm not aware of public api answers this.

ios cgcontextref drawingcontext

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -