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

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -