【发布时间】:2013-11-06 03:20:17
【问题描述】:
我有一个 void 方法,此方法将 UIView 动画到一个点,在特定时间后 UIView 应该 animate 到另一个点,我正在尝试使用 [NSTimer scheduledTimerWithTimeInterval:duration target:self selector:@selector(METHOD) userInfo:nil repeats:NO]; 来执行此操作,但它看起来就像我不能用Arguments 做空一样。我需要执行这个 void:
-(void)showNotificationViewWithText:(NSString *)title andTextColor:(UIColor *)titleTintColor andNotificationBackGroundColor:(UIColor *)backGroundColor andDuration:(float)duration direction:(BOOL) up:
或者有没有人有更好的想法在延迟后将 UIView 移动到不同的点?
【问题讨论】:
标签: ios objective-c arguments void