iphone - Take screenshots of a UIView including 3 UITableView(visible+invisible) part -


i have uiview having 3 uitableview , need take screen shot. problem invisible part of 3 tables . can find way take screen shot of whole view including complete scrolled contents of tables.

this helps contents of layer (ie. , uiview)

uigraphicsbeginimagecontext(tableview.frame.size); cgcontextref ctx = uigraphicsgetcurrentcontext(); [tableview.layer renderincontext:ctx]; uiimage *newimage = uigraphicsgetimagefromcurrentimagecontext(); uigraphicsendimagecontext(); 

Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

What's the encoding type of Android 2.2 push message? -

visual studio - Deleting lines of code in a text editor -