You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ac...@apache.org on 2017/07/21 09:01:07 UTC

[05/16] incubator-weex git commit: * [ios] fix deprecated method

* [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 <zh...@gmail.com>
Authored: Wed Jun 21 19:29:26 2017 +0800
Committer: acton393 <zh...@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:)];
     }