Skip to content

TBActionButton

杨萧玉 edited this page Jan 12, 2019 · 1 revision

TBActionButton Class Reference

  Inherits from UIButton
  Declared in TBActionButton.h

TBActionButton.m

Overview

可定制风格和圆角的按钮

Tasks

  handler property

  animation property

  behindColorView property

Properties

animation

点击按钮后 TBActionSheet 的自定义关闭动画

@property (nonatomic, nullable, strong) TBActionSheetAnimation animation

Discussion

点击按钮后 TBActionSheet 的自定义关闭动画

Declared In

  • TBActionButton.h

behindColorView

位于按钮后面的调节颜色的图层,在没有 normalColorhighlightedColor 时使用 ambientColor 替代

@property (weak, nonatomic) UIView *behindColorView

Discussion

位于按钮后面的调节颜色的图层,在没有 normalColorhighlightedColor 时使用 ambientColor 替代

Declared In

  • TBActionButton.h

handler

点击按钮后的响应回调

@property (nonatomic, nullable, strong, readonly) TBActionButtonHandler handler

Discussion

点击按钮后的响应回调

Declared In

  • TBActionButton.h