UIViewController(TuSDKICViewControllerExtend) Category Reference

Declared in TuSDKICViewController.h

Overview

扩展控制器方法

+ controller

初始化控制器

+ (instancetype)controller

Return Value

controller 控制器

Declared In

TuSDKICViewController.h

– lsqNavCount

导航级数

- (NSInteger)lsqNavCount

Declared In

TuSDKICViewController.h

– lsqBackActionHadAnimated

返回前一页 使用动画

- (void)lsqBackActionHadAnimated

Declared In

TuSDKICViewController.h

– lsqBackActionWithAnimated:

返回前一页

- (void)lsqBackActionWithAnimated:(BOOL)animated

Parameters

animated

是否使用动画

Declared In

TuSDKICViewController.h

– lsqBackActionWithAnim:

返回前一页

- (void)lsqBackActionWithAnim:(CAAnimation *)anim

Parameters

anim

自定义动画

Declared In

TuSDKICViewController.h

– lsqDismissModalViewControllerAnimated

取消模态控制器 使用动画

- (void)lsqDismissModalViewControllerAnimated

Declared In

TuSDKICViewController.h

– lsqDismissModalViewControllerWithAnim:

取消模态控制器 使用动画

- (void)lsqDismissModalViewControllerWithAnim:(CAAnimation *)anim

Parameters

anim

自定义动画

Declared In

TuSDKICViewController.h

– lsqDismissViewControllerWithAnim:completion:

取消控制器 使用动画

- (void)lsqDismissViewControllerWithAnim:(CAAnimation *)anim completion:(void ( ^ ) ( void ))completion

Parameters

anim

自定义动画

completion

结束回调

Declared In

TuSDKICViewController.h

– lsqPushViewController:animated:

弹出一个视图控制器

- (void)lsqPushViewController:(UIViewController *)viewController animated:(BOOL)animated

Parameters

viewController

视图控制器

animated

是否使用动画

Declared In

TuSDKICViewController.h

– lsqPushViewController:anim:

Push控制器

- (void)lsqPushViewController:(UIViewController *)viewController anim:(CAAnimation *)anim

Parameters

viewController

视图控制器

anim

自定义动画

Declared In

TuSDKICViewController.h

– lsqPopViewControllerAnimated:

退出一个视图控制器

- (UIViewController *)lsqPopViewControllerAnimated:(BOOL)animated

Parameters

animated

是否使用动画

Return Value

controller 返回退出的视图控制器

Declared In

TuSDKICViewController.h

– lsqPopViewControllerWithAnim:

退出一个视图控制器

- (UIViewController *)lsqPopViewControllerWithAnim:(CAAnimation *)anim

Parameters

anim

自定义动画

Return Value

controller 返回退出的视图控制器

Declared In

TuSDKICViewController.h

– lsqPopToViewController:animated:

退出到指定的控制器视图

- (NSArray *)lsqPopToViewController:(UIViewController *)viewController animated:(BOOL)animated

Parameters

viewController

指定的控制器视图

animated

是否使用动画

Return Value

controller 返回退出的视图控制器列表

Declared In

TuSDKICViewController.h

– lsqPopToViewController:anim:

退出到指定的控制器视图

- (NSArray *)lsqPopToViewController:(UIViewController *)viewController anim:(CAAnimation *)anim

Parameters

viewController

指定的控制器视图

anim

自定义动画

Return Value

controller 返回退出的视图控制器列表

Declared In

TuSDKICViewController.h

– lsqPopToRootViewControllerAnimated:

弹出到第一个视图控制器

- (NSArray *)lsqPopToRootViewControllerAnimated:(BOOL)animated

Parameters

animated

是否使用动画

Return Value

controller 返回退出的视图控制器列表

Declared In

TuSDKICViewController.h

– lsqPopToRootViewControllerWithAnim:

弹出到第一个视图控制器

- (NSArray *)lsqPopToRootViewControllerWithAnim:(CAAnimation *)anim

Parameters

anim

自定义动画

Return Value

controller 返回退出的视图控制器列表

Declared In

TuSDKICViewController.h

– lsqPresentModalNavigationController:animated:

弹出一个带导航的模态窗口

- (void)lsqPresentModalNavigationController:(UIViewController *)controller animated:(BOOL)animated

Parameters

controller

控制器

animated

是否使用动画

Declared In

TuSDKICViewController.h

– lsqPresentModalNavigationController:animated:hiddenNav:

弹出一个带导航的模态窗口

- (void)lsqPresentModalNavigationController:(UIViewController *)controller animated:(BOOL)animated hiddenNav:(BOOL)hiddenNav

Parameters

controller

控制器

animated

是否使用动画

hiddenNav

是否隐藏导航栏

Declared In

TuSDKICViewController.h

– lsqPresentModalNavigationController:anim:

弹出一个带导航的模态窗口

- (void)lsqPresentModalNavigationController:(UIViewController *)controller anim:(CAAnimation *)anim

Parameters

controller

控制器

anim

自定义动画

Declared In

TuSDKICViewController.h

– lsqPresentModalNavigationController:anim:hiddenNav:

弹出一个带导航的模态窗口

- (void)lsqPresentModalNavigationController:(UIViewController *)controller anim:(CAAnimation *)anim hiddenNav:(BOOL)hiddenNav

Parameters

controller

控制器

anim

自定义动画

hiddenNav

是否隐藏导航栏

Declared In

TuSDKICViewController.h

– setFullScreenLayout:

设置全屏

- (void)setFullScreenLayout:(BOOL)wantFull

Parameters

wantFull

是否全屏

Declared In

TuSDKICViewController.h

– setStatusBarHidden:withAnimation:

设置状态隐藏状态

- (void)setStatusBarHidden:(BOOL)hidden withAnimation:(UIStatusBarAnimation)animation

Parameters

hidden

是否隐藏

animation

使用动画

Declared In

TuSDKICViewController.h

– setStatusBarHidden:

设置状态隐藏状态,没有动画

- (void)setStatusBarHidden:(BOOL)hidden

Parameters

hidden

是否隐藏

Declared In

TuSDKICViewController.h

– setNavigationBarHidden:

设置导航栏是否隐藏 (不使用动画)

- (void)setNavigationBarHidden:(BOOL)isHidden

Parameters

isHidden

是否隐藏导航栏

Declared In

TuSDKICViewController.h

– setNavigationBarHidden:animated:

设置导航栏是否隐藏

- (void)setNavigationBarHidden:(BOOL)isHidden animated:(BOOL)animated

Parameters

isHidden

是否隐藏导航栏

animated

是否使用动画

Declared In

TuSDKICViewController.h

– controllerWillDestory

控制器即将销毁

- (void)controllerWillDestory

Declared In

TuSDKICViewController.h