You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "Adam Feng (JIRA)" <ji...@apache.org> on 2018/05/14 12:53:00 UTC
[jira] [Resolved] (WEEX-137) WeexSDK for iOS support iPhone X
[ https://issues.apache.org/jira/browse/WEEX-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Feng resolved WEEX-137.
----------------------------
Resolution: Fixed
> 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
> Priority: Major
>
> 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
(v7.6.3#76005)