开发者

show UIButtons one by one in a UIView

Hi I have a UIView which contains several buttons that are designed by others in Interface Builder. Now I need to show the butto开发者_如何学Cns one by one with a 0.2 second delay, when the View is loaded.

Can someone give me some clue how I could implement this? e.g. in which method call what kind of animation.


Do some research on NSTimers.

[NSTimer scheduledTimerWithTimeInterval:0.2f
             target:self
         selector:@selector(showSecondButton:)
         userInfo:nil
         repeats:NO];


-(void)showSecondButton:(id)sender{
    [button2 setHidden:NO];
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜