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

swift项目中导入XLPhotoBrowser, 在设置初始化底部ActionSheet弹框数据时,无法调用setActionSheetWithTitle:title....方法 #23

Open
fshmjl opened this issue Jan 6, 2018 · 2 comments

Comments

@fshmjl
Copy link

fshmjl commented Jan 6, 2018

/**

  • 初始化底部ActionSheet弹框数据 , 不实现此方法,则没有类似微信那种长按手势弹框
  • @param title ActionSheet的title
  • @param delegate XLPhotoBrowserDelegate
  • @param cancelButtonTitle 取消按钮文字
  • @param deleteButtonTitle 删除按钮文字,如果为nil,不显示删除按钮
  • @param otherButtonTitle 其他按钮数组
    */
  • (void)setActionSheetWithTitle:(NSString *)title delegate:(id)delegate cancelButtonTitle:(NSString *)cancelButtonTitle deleteButtonTitle:( NSString *)deleteButtonTitle otherButtonTitles:( NSString *)otherButtonTitle, ... NS_REQUIRES_NIL_TERMINATION;

不能被调用

@bangjier
Copy link

用了NS_REQUIRES_NIL_TERMINATION这个,在swift中调用不了,什么时候作者能改改

@TtomHankesi1
Copy link

解决了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants