この文書の現在のバージョンと選択したバージョンの差分を表示します。
両方とも前のリビジョン 前のリビジョン | |||
reactnative:サイズ取得 [2019/02/11 11:55] ips |
reactnative:サイズ取得 [2019/02/11 12:45] (現在) ips |
||
---|---|---|---|
ライン 7: | ライン 7: | ||
const { width, height, scale } = Dimensions.get('window') | const { width, height, scale } = Dimensions.get('window') | ||
- | // my HTC U12+ の場合 | + | |
[18:09:44] 411.42857142857144 //width | [18:09:44] 411.42857142857144 //width | ||
[18:09:44] 683.4285714285714 //height | [18:09:44] 683.4285714285714 //height |