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

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

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -