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
Post a Comment