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:09 UTC
[07/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/26c2997d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/26c2997d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/26c2997d
Branch: refs/heads/0.15-dev
Commit: 26c2997ddcadad969688677d6da088c60220b66f
Parents: 5a1502c
Author: acton393 <zh...@gmail.com>
Authored: Wed Jun 21 19:31:12 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Wed Jun 21 19:31:12 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/26c2997d/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 f8ff924..338c31e 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:UIBarButtonItemStyleBordered target:self action:@selector(done:)];
+ doneBtn = [[UIBarButtonItem alloc] initWithTitle:self.confirmTitle style:UIBarButtonItemStylePlain target:self action:@selector(done:)];
}else {
doneBtn = [[UIBarButtonItem alloc]initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:self action:@selector(done:)];
}