You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by cx...@apache.org on 2017/03/07 06:22:04 UTC
[15/19] incubator-weex git commit: * [ios] fix refresh control load
* [ios] fix refresh control load
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/a6ca50c3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/a6ca50c3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/a6ca50c3
Branch: refs/heads/0.11-dev
Commit: a6ca50c352ffa8549906966aeea75314c2116e3f
Parents: 7320e4a
Author: acton393 <zh...@gmail.com>
Authored: Mon Mar 6 21:09:26 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Mon Mar 6 21:09:26 2017 +0800
----------------------------------------------------------------------
ios/playground/WeexDemo/WXDemoViewController.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/a6ca50c3/ios/playground/WeexDemo/WXDemoViewController.m
----------------------------------------------------------------------
diff --git a/ios/playground/WeexDemo/WXDemoViewController.m b/ios/playground/WeexDemo/WXDemoViewController.m
index f962df0..b6dd0a4 100644
--- a/ios/playground/WeexDemo/WXDemoViewController.m
+++ b/ios/playground/WeexDemo/WXDemoViewController.m
@@ -174,7 +174,7 @@
- (void)setupRightBarItem
{
- if ([self.url.scheme isEqualToString:@"http"]) {
+ if ([self.url.scheme hasPrefix:@"http"]) {
[self loadRefreshCtl];
}
}