在第一個進入的界面中進行控制
OC
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
[NSThread sleepForTimeInterval:2.0]; //設置進程停止2秒
}
SWIFT
override func viewDidLoad() {
super.viewDidLoad()
NSThread.sleepForTimeInterval(3.0)//延長3秒
}