In version 0.50.1, the React Native team introduced a new API for easily dealing with the new iPhone X layout. This API is the SafeAreaView. With SafeAreaView, you can easily update your existing codebase to be integrated with the iPhone X without a lot of headache. Hereâs how you can use it: import { ... SafeAreaView } from 'react-native';class Main extends React.Component { render() { return ( <
ã¯ããã« ããããèããã¨ä»æ¥ã¯ãªã¹ãã¹ã¤ããããã§ãããæ®å¿µãªããè¨äºæ¸ããããã«ã¯äºå®ããªãã§ãï¼ ã¯ãªã¹ãã¹ã®é«å寺ã¯éã«ã¨ã¦ã空ãã¦ããã®ã§ãªã¹ã¹ã¡ã§ããï¼ è²ã ã¨é²æãã£ã¦ãReact Nativeãè¯ãããªã³ã³ãã¼ãã³ãç´¹ä»ãå¤ããªã£ã¦ãã¾ã£ãã®ã§ãã以éå¤æ´ãã£ãããæ°ãããã¤ã¿ã¤ãã¦ããããã®ã§æ¹ãã¦ã®å ±åã§ãã å»å¹´ã¨åããã®ãç´¹ä»ããããã¦ã¾ãããããã¯ã¨ã¦ãè¯ãã£ãããæ å¢ã«å¤åããã£ããã¿ã¼ã³ã¯ç´¹ä»ãã¦ãã¾ãï¼ åãã¾ã ã¾ã ç¥èæµ ãã®ã§ãã£ã¡ã ãï¼ããããããï¼ãªã©ããã°ãæãããã ãã¾ãã¨å¹¸ãã§ãï¼ ä»å¹´ã¯åããã®è¨äºãæ¸ããå°ç¹ã®ã¹ã¿ã¼æ°ãè¨è¼ãã¦ãã¾ãï¼ ã«ã¼ãã£ã³ã° react-native-router-fluxãâ ï¼6048 ãã¼ã¸ã§ã³è¿½ãã¦ããªãæã¨é²ãã§ããªãæãå端ãªããªã£ã¦ããé åãã§ãããè²ã ã¨è§¦ã£ã¦ã¿ãæããï¼åãç°å¢ãªãï¼ä¸çªã¡ããã¨åãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}