{"action":"created","issue":{"url":"https://api.github.com/repos/alibaba/weex/issues/1574","repository_url":"https://api.github.com/repos/alibaba/weex","labels_url":"https://api.github.com/repos/alibaba/weex/issues/1574/labels{/name}","comments_url":"https://api.github.com/repos/alibaba/weex/issues/1574/comments","events_url":"https://api.github.com/repos/alibaba/weex/issues/1574/events","html_url":"https://github.com/alibaba/weex/issues/1574","id":187030014,"number":1574,"title":"wxc-navtab导致wxc-navpage留白问题","user":{"login":"walkerzhou","id":6845497,"avatar_url":"https://avatars.githubusercontent.com/u/6845497?v=3","gravatar_id":"","url":"https://api.github.com/users/walkerzhou","html_url":"https://github.com/walkerzhou","followers_url":"https://api.github.com/users/walkerzhou/followers","following_url":"https://api.github.com/users/walkerzhou/following{/other_user}","gists_url":"https://api.github.com/users/walkerzhou/gists{/gist_id}","starred_url":"https://api.github.com/users/walkerzhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walkerzhou/subscriptions","organizations_url":"https://api.github.com/users/walkerzhou/orgs","repos_url":"https://api.github.com/users/walkerzhou/repos","events_url":"https://api.github.com/users/walkerzhou/events{/privacy}","received_events_url":"https://api.github.com/users/walkerzhou/received_events","type":"User","site_admin":false},"labels":[{"id":339914709,"url":"https://api.github.com/repos/alibaba/weex/labels/help%20wanted","name":"help wanted","color":"159818","default":true},{"id":359381244,"url":"https://api.github.com/repos/alibaba/weex/labels/ios","name":"ios","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":{"login":"bluebird78999","id":753735,"avatar_url":"https://avatars.githubusercontent.com/u/753735?v=3","gravatar_id":"","url":"https://api.github.com/users/bluebird78999","html_url":"https://github.com/bluebird78999","followers_url":"https://api.github.com/users/bluebird78999/followers","following_url":"https://api.github.com/users/bluebird78999/following{/other_user}","gists_url":"https://api.github.com/users/bluebird78999/gists{/gist_id}","starred_url":"https://api.github.com/users/bluebird78999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluebird78999/subscriptions","organizations_url":"https://api.github.com/users/bluebird78999/orgs","repos_url":"https://api.github.com/users/bluebird78999/repos","events_url":"https://api.github.com/users/bluebird78999/events{/privacy}","received_events_url":"https://api.github.com/users/bluebird78999/received_events","type":"User","site_admin":false},"assignees":[{"login":"bluebird78999","id":753735,"avatar_url":"https://avatars.githubusercontent.com/u/753735?v=3","gravatar_id":"","url":"https://api.github.com/users/bluebird78999","html_url":"https://github.com/bluebird78999","followers_url":"https://api.github.com/users/bluebird78999/followers","following_url":"https://api.github.com/users/bluebird78999/following{/other_user}","gists_url":"https://api.github.com/users/bluebird78999/gists{/gist_id}","starred_url":"https://api.github.com/users/bluebird78999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluebird78999/subscriptions","organizations_url":"https://api.github.com/users/bluebird78999/orgs","repos_url":"https://api.github.com/users/bluebird78999/repos","events_url":"https://api.github.com/users/bluebird78999/events{/privacy}","received_events_url":"https://api.github.com/users/bluebird78999/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-11-03T11:05:09Z","updated_at":"2016-11-15T03:58:17Z","closed_at":null,"body":"wxc-navtab每个tab是wxc-navpage（先交页面A），点击wxc-navpage会调整到其他的wxc-navpage（先交页面B），然后在页面B返回到页面A的话会出现留白。效果如下\r\n![image](https://cloud.githubusercontent.com/assets/6845497/19963501/a816da58-a1f7-11e6-9027-fe3a6dd8fa4a.png)\r\n![image](https://cloud.githubusercontent.com/assets/6845497/19963511/ad32cca4-a1f7-11e6-95a1-17533ec2ab4e.png)\r\n如果是页面A不是嵌套在wxc-navtab中的话，返回是是没有留白问题。\r\n\r\n现在通过在ios代码中加入了，留白问题就解决了。\r\nself.edgesForExtendedLayout = UIRectEdgeNone;\r\n\r\n本人不是IOS开发，具体细节不清楚了。。"},"comment":{"url":"https://api.github.com/repos/alibaba/weex/issues/comments/260541235","html_url":"https://github.com/alibaba/weex/issues/1574#issuecomment-260541235","issue_url":"https://api.github.com/repos/alibaba/weex/issues/1574","id":260541235,"user":{"login":"bluebird78999","id":753735,"avatar_url":"https://avatars.githubusercontent.com/u/753735?v=3","gravatar_id":"","url":"https://api.github.com/users/bluebird78999","html_url":"https://github.com/bluebird78999","followers_url":"https://api.github.com/users/bluebird78999/followers","following_url":"https://api.github.com/users/bluebird78999/following{/other_user}","gists_url":"https://api.github.com/users/bluebird78999/gists{/gist_id}","starred_url":"https://api.github.com/users/bluebird78999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluebird78999/subscriptions","organizations_url":"https://api.github.com/users/bluebird78999/orgs","repos_url":"https://api.github.com/users/bluebird78999/repos","events_url":"https://api.github.com/users/bluebird78999/events{/privacy}","received_events_url":"https://api.github.com/users/bluebird78999/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T03:58:17Z","updated_at":"2016-11-15T03:58:17Z","body":"有没有相关使用的源码，贴上来看一下，这个留白可能是iOS代码布局时对页面起始\b位置计算有误。UIRectEdgeNone值设置后，tableview或scrollview就不延伸到 navigationBar 下面， 会自动校正位置。这个属性在解决一些布局bug时会比较好用，支持iO7及以后的系统。"}}
{"actor":{"display_login":"bluebird78999"}}