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? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -