ios - how to take a UIView screenshot faster? -


i'm making dictionary app, allows user find word definition touch word in screen, , there magnifier on screen , follow user's finger. have implement take screenshot of view , assign image maginifer image view, uiimageview, however, in order take screenshot, method [self.layer renderincontext:c]; cost time, there other way ?maybe opengl help?

after profiling app instruments->core animation, 9 fps showing magnifier, 30 fps if showing system default magnifier in uitextview, don't know why system fast

you can use exact same view in magnifier view, , change position visible words.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -