Repository: incubator-weex Updated Branches: refs/heads/master 70cbe4fa2 -> f0d44b78c
* [iOS] fix warning about WXExtModule in playground Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/f0d44b78 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/f0d44b78 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/f0d44b78 Branch: refs/heads/master Commit: f0d44b78c461e87a1217261990f7edba464fe260 Parents: 70cbe4f Author: acton393 <zhangxing610...@gmail.com> Authored: Fri Feb 9 22:03:27 2018 +0800 Committer: acton393 <zhangxing610...@gmail.com> Committed: Fri Feb 9 22:03:27 2018 +0800 ---------------------------------------------------------------------- ios/playground/WeexDemo/WXExtModule.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/f0d44b78/ios/playground/WeexDemo/WXExtModule.m ---------------------------------------------------------------------- diff --git a/ios/playground/WeexDemo/WXExtModule.m b/ios/playground/WeexDemo/WXExtModule.m index bbcdb7b..fe034e7 100644 --- a/ios/playground/WeexDemo/WXExtModule.m +++ b/ios/playground/WeexDemo/WXExtModule.m @@ -23,7 +23,7 @@ WX_EXPORT_METHOD(@selector(generateCover:)) -- (void)generateCover:(WXModuleCallback)callback +- (void)generateCover:(WXModuleKeepAliveCallback)callback { #if DEBUG #if !TARGET_IPHONE_SIMULATOR @@ -37,12 +37,12 @@ WX_EXPORT_METHOD(@selector(generateCover:)) if (callback) { NSDictionary * result = @{@"ok": @true}; - callback(result); + callback(result,NO); } #else if (callback) { NSDictionary * result = @{@"ok": @false,@"msg":@"only debug mode support"}; - callback(result); + callback(result,NO); } #endif }