* [ios] fix deprecated method

Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/e82d8bf7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/e82d8bf7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/e82d8bf7

Branch: refs/heads/0.15-dev
Commit: e82d8bf75fa555d63ea37af490821ec85e44ac40
Parents: dd74143
Author: acton393 <zhangxing610...@gmail.com>
Authored: Wed Jun 21 19:29:26 2017 +0800
Committer: acton393 <zhangxing610...@gmail.com>
Committed: Wed Jun 21 19:29:26 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Module/WXPickerModule.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e82d8bf7/ios/sdk/WeexSDK/Sources/Module/WXPickerModule.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Module/WXPickerModule.m 
b/ios/sdk/WeexSDK/Sources/Module/WXPickerModule.m
index 338c31e..f8ff924 100644
--- a/ios/sdk/WeexSDK/Sources/Module/WXPickerModule.m
+++ b/ios/sdk/WeexSDK/Sources/Module/WXPickerModule.m
@@ -238,7 +238,7 @@ WX_EXPORT_METHOD(@selector(pickTime:callback:))
     
     UIBarButtonItem* doneBtn ;
     if (self.confirmTitle.length >0) {
-        doneBtn = [[UIBarButtonItem alloc] initWithTitle:self.confirmTitle 
style:UIBarButtonItemStylePlain target:self action:@selector(done:)];
+        doneBtn = [[UIBarButtonItem alloc] initWithTitle:self.confirmTitle 
style:UIBarButtonItemStyleBordered target:self action:@selector(done:)];
     }else {
        doneBtn = [[UIBarButtonItem 
alloc]initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:self 
action:@selector(done:)];
     }

Reply via email to