Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.0.13 更新日志 #26

Open
xaoxuu opened this issue Aug 15, 2017 · 0 comments
Open

0.0.13 更新日志 #26

xaoxuu opened this issue Aug 15, 2017 · 0 comments

Comments

@xaoxuu
Copy link
Owner

xaoxuu commented Aug 15, 2017

UIAlertController

删除了两个使用频率低的接口

更改这两个接口使其能够返回实例:

/**
 弹窗(标题+消息+自定义按钮)(如果action为nil,则只有一个确定按钮)
 @param title 标题
 @param message 消息
 @param action 按钮
 @return 返回alert对象
 */
+ (instancetype)ax_showAlertWithTitle:(nullable NSString *)title message:(nullable NSString *)message actions:(void (^ __nullable)(UIAlertController *alert))actions;
/**
 弹窗(标题+消息+自定义按钮)(如果action为nil,则只有一个确定按钮)
 @param title 标题
 @param message 消息
 @param action 按钮
 @return 返回alert对象
 */
+ (instancetype)ax_showActionSheetWithTitle:(nullable NSString *)title message:(nullable NSString *)message actions:(void (^ __nullable)(UIAlertController *alert))actions;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant