UIButton(UIButtonBundleExtend) Category Reference
Declared in | TuSDKTSBundle.h |
---|
+ buttonWithFrame:imageLSQBundleNamed:
初始化图片 从UI扩展包加载 (TuSDK.bundle/ui_default)
+ (instancetype)buttonWithFrame:(CGRect)frame imageLSQBundleNamed:(NSString *)imageNamed
Parameters
frame |
坐标长宽 |
---|---|
imageNamed |
图片名称 |
Return Value
按钮对象
Declared In
TuSDKTSBundle.h
+ buttonWithFrame:backgroundImageLSQBundleNamed:
初始化图片 从UI扩展包加载 (TuSDK.bundle/ui_default)
+ (instancetype)buttonWithFrame:(CGRect)frame backgroundImageLSQBundleNamed:(NSString *)imageNamed
Parameters
frame |
坐标长宽 |
---|---|
imageNamed |
背景图片名称 |
Return Value
按钮对象
Declared In
TuSDKTSBundle.h
– setStateNormalLSQBundleImageName:
设置默认状态图片 从UI扩展包加载 (TuSDK.bundle/ui_default)
- (void)setStateNormalLSQBundleImageName:(NSString *)name
Parameters
name |
图片名称 |
---|
Declared In
TuSDKTSBundle.h
– setStateNormalBackgroundImageLSQBundleNamed:
设置默认状态背景图片名称
- (void)setStateNormalBackgroundImageLSQBundleNamed:(NSString *)imageName
Parameters
imageName |
背景图片名称 从UI扩展包加载 (TuSDK.bundle/ui_default) |
---|
Declared In
TuSDKTSBundle.h