iphone - How to capture the screen shot for transition -


i want capture screenshot transition between images.

- (uiimage *)captureview:(uiview *)view {     cgrect screenrect = [[uiscreen mainscreen] bounds];     uigraphicsbeginimagecontext(screenrect.size);     cgcontextref ctx = uigraphicsgetcurrentcontext();     [[uicolor blackcolor] set];     cgcontextfillrect(ctx, screenrect);     [view.layer.presentationlayer renderincontext:ctx];     uiimage *newimage = uigraphicsgetimagefromcurrentimagecontext();     uigraphicsendimagecontext();     return newimage; } 

i call method during uiimageview playing transition of images, however, got still image in uiimageview cannot capture transition between images. can me out?

in simulator can hit shift 3 times slow animation down, might able catch transition then.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -