make an imageView move in objective-c -
i'm trying make bird jump pressing button. have not idea how that. created timer don't know how use that.
int birdflight; @interface birdviewcontroller : uiviewcontroller { iboutlet uibutton *flybutton; iboutlet uiimageview *bird; nstimer *birdmovement; } -(ibaction)buttonbirdfly:(id)sender; @end
how use method?
@implementation birdviewcontroller -(ibaction)buttonbirdfly:(id)sender { }
Comments
Post a Comment