變數宣告strong跟weak
用segue轉到另一個view如何退上去的方法
[self dismissViewControllerAnimated:true completion:nil];
用Navigation控制轉viewController
By using below line we can go to parent view controller
[self.navigationController popViewControllerAnimated:YES];
By using below line we can move to main/root view controller
By using below line we can move to main/root view controller
[self.navigationController popToRootViewControllerAnimated:YES];
By using below line we can move to any view controller
By using below line we can move to any view controller
[self.navigationController popToViewController:viewControllerObject animated:YES];
UIthread不同步的處理方法
dispatch_async(dispatch_get_main_queue(), ^{
[self.accessTokenText setText:userAccessToken];
[self.refreshTokenText setText:userRefreshToken];
});
沒有留言:
張貼留言
留個話吧:)