objective c - how to set animations using images -
hi have 5 images show star blinking (dull bright).how should use image show effect.
put images array , assign array uiimageview's animationimages property:
nsarray *imagesarray = [nsarray arraywithobjects:image1, image2, image3, image4, image5, nil]; uiimageview *star = [[uiimageview alloc] init]; [star setanimationimages:imagesarray]; then add uiimageview uiview (controller view or else) , start animating:
[someview addsubview:star]; [star startanimating]
Comments
Post a Comment