beginAppearanceTransition

博观而约取,厚积而薄发。这篇文章主要讲述beginAppearanceTransition相关的知识,希望能为你提供帮助。
- (void)beginAppearanceTransition:(BOOL)isAppearing animated:(BOOL)animated __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_5_0);
- (void)endAppearanceTransition __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_5_0);
  今天看别人代码,用到这两个函数,这两个函数的是成对出现的,基本用法为
【beginAppearanceTransition】[self beginAppearanceTransition:YES animated:NO]; //调用viewWillAppear
  [self   endAppearanceTransition]; //调用viewDidAppear
[self beginAppearanceTransition:NO animated:NO]; //调用viewWillDisappear
 

    推荐阅读