[self performSelector:@selector(changeText:) withObject:@"Happy aha" afterDelay:1];
转载于:https://www.cnblogs.com/qingjoin/archive/2013/05/23/3095330.html
本文介绍在Objective-C中如何使用selfperformSelector实现方法的延时执行,通过示例代码展示了如何设置一个延时任务来改变文本内容。
[self performSelector:@selector(changeText:) withObject:@"Happy aha" afterDelay:1];
转载于:https://www.cnblogs.com/qingjoin/archive/2013/05/23/3095330.html

被折叠的 条评论
为什么被折叠?