You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "xingZhang (JIRA)" <ji...@apache.org> on 2017/11/22 09:00:12 UTC

[jira] [Created] (WEEX-137) WeexSDK for iOS support iPhone X

xingZhang created WEEX-137:
------------------------------

             Summary: WeexSDK for iOS support iPhone X 
                 Key: WEEX-137
                 URL: https://issues.apache.org/jira/browse/WEEX-137
             Project: Weex
          Issue Type: Bug
          Components: iOS
            Reporter: xingZhang
            Assignee: Adam Feng


As we all know, iPhone X has its safe area , and apple have their interface-guidelines, and at the same time, webkit also open an pull request for w3c about this feature, so weexSDK will adopt this strategy for iPhone X adapter.
https://developer.apple.com/ios/human-interface-guidelines/overview/iphone-x/
https://webkit.org/blog/7929/designing-websites-for-iphone-x/

1. support a set of four pre-defined environment variables, safe-area-inset-left, safe-area-inset-right, safe-area-inset-top, and safe-area-inset-bottom
2. support setViewport to be contain or cover



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)