我实现了MKInputBox,我正在尝试使用块语句。这是代码:(它在sample project:)
alertView.customise = ^(UITextField *textField) {
};
我收到错误提及以下内容:
Incompatible block pointer types assigning to 'UITextField *(^)(UITextField *__strong)' from 'void (^)(UITextField *__strong)'
我做错了什么,我该如何解决?