1、定时器
controller
[self performSelector:@selector(nextQuestion:) withObject:nil afterDelay:0.5];
2、让数组中每个对象调用某个方法
[self.optionsView.subviews makeObjectsPerformSelector:@selector(removeFromSuperview)];
3、将一个图层移到最前面
[self.view bringSubviewToFront:self.iconBtn];
4、控制状态栏的样式 重写方法
/**
* 控制状态栏的样式
*/
- (UIStatusBarStyle)preferredStatusBarStyle
{
// 白色
return UIStatusBarStyleLightContent;
}
controller
[self performSelector:@selector(nextQuestion:) withObject:nil afterDelay:0.5];
2、让数组中每个对象调用某个方法
[self.optionsView.subviews makeObjectsPerformSelector:@selector(removeFromSuperview)];
3、将一个图层移到最前面
[self.view bringSubviewToFront:self.iconBtn];
4、控制状态栏的样式 重写方法
/**
* 控制状态栏的样式
*/
- (UIStatusBarStyle)preferredStatusBarStyle
{
// 白色
return UIStatusBarStyleLightContent;
}