TuSDKICViewController Class Reference

Inherits from UIViewController
Declared in TuSDKICViewController.h

Overview

控制器基础类

  automaticallyAdjustsScrollViewInsets

系统版本大于7时,滚动视图位置置顶到状态栏

@property (nonatomic, assign) BOOL automaticallyAdjustsScrollViewInsets

Declared In

TuSDKICViewController.h

  transAnim

转场动画

@property (nonatomic, retain) TuSDKTSCControllerTrans *transAnim

Declared In

TuSDKICViewController.h

– lsqNavLeftButtonWithTitle:action:

设置导航栏左边按钮

- (void)lsqNavLeftButtonWithTitle:(NSString *)title action:(SEL)action

Parameters

title

标题

action

动作

Declared In

TuSDKICViewController.h

– lsqNavLeftButtonWithTitle:textColor:action:

设置导航栏左边按钮

- (void)lsqNavLeftButtonWithTitle:(NSString *)title textColor:(UIColor *)color action:(SEL)action

Parameters

title

标题

color

标题颜色

action

动作

Declared In

TuSDKICViewController.h

– lsqNavRightButtonWithTitle:action:

设置导航栏右边按钮

- (void)lsqNavRightButtonWithTitle:(NSString *)title action:(SEL)action

Parameters

title

标题

action

动作

Declared In

TuSDKICViewController.h

– lsqNavRightButtonWithTitle:textColor:action:

设置导航栏右边按钮

- (void)lsqNavRightButtonWithTitle:(NSString *)title textColor:(UIColor *)color action:(SEL)action

Parameters

title

标题

color

标题颜色

action

动作

Declared In

TuSDKICViewController.h

– lsqSetNavLeftCancelButton

设置导航栏左边取消按钮

- (void)lsqSetNavLeftCancelButton

Declared In

TuSDKICViewController.h

– lsqSetNavLeftCancelButtonWithColor:

设置导航栏左边取消按钮

- (void)lsqSetNavLeftCancelButtonWithColor:(UIColor *)color

Parameters

color

文字颜色

Declared In

TuSDKICViewController.h

– lsqSetNavRightCancelButton

设置导航栏右边取消按钮

- (void)lsqSetNavRightCancelButton

Declared In

TuSDKICViewController.h

– lsqSetNavRightCancelButtonWithColor:

设置导航栏右边取消按钮和文本颜色

- (void)lsqSetNavRightCancelButtonWithColor:(UIColor *)color

Parameters

color

文字颜色

Declared In

TuSDKICViewController.h

– cancelAction

取消按钮响应事件

- (void)cancelAction

Declared In

TuSDKICViewController.h

– setBackButton

创建自定义返回按钮

- (void)setBackButton

Declared In

TuSDKICViewController.h

– showHubWithStatus:

显示进度提示信息

- (void)showHubWithStatus:(NSString *)status

Parameters

status

信息

Declared In

TuSDKICViewController.h

– showHubProgress:withStatus:

显示进度信息

- (void)showHubProgress:(float)progress withStatus:(NSString *)status

Discussion

@param progress 进度, 0 ~ 1 @param status 信息

Declared In

TuSDKICViewController.h

– showHubSuccessWithStatus:

显示进度提示成功信息

- (void)showHubSuccessWithStatus:(NSString *)status

Parameters

status

信息

Declared In

TuSDKICViewController.h

– showHubErrorWithStatus:

显示进度提示失败信息

- (void)showHubErrorWithStatus:(NSString *)status

Parameters

status

信息

Declared In

TuSDKICViewController.h

– dismissHub

关闭进度提示

- (void)dismissHub

Declared In

TuSDKICViewController.h