// 1、init
// 2、表盤加載的時(shí)候調(diào)用(類似awakeFromNib)
- (void)awakeWithContext:(id)context {
[super awakeWithContext:context];
// Configure interface objects here.
NSLog(@"%s, line= %d", __FUNCTION__, __LINE__);
}
// 3、視圖即將展示的時(shí)候調(diào)用(類似viewWillAppear)
- (void)willActivate {
// This method is called when watch view controller is about to be visible to user
[super willActivate];
NSLog(@"%s, line= %d", __FUNCTION__, __LINE__);
}
// 3、跳頁的時(shí)候調(diào)用(類似viewDidDisAppear)
- (void)didDeactivate {
// This method is called when watch view controller is no longer visible
[super didDeactivate];
NSLog(@"%s, line= %d", __FUNCTION__, __LINE__);
}