react-native-screen-corner-radius::mobile_phone: 一个用于获取设备屏幕角半径的 React Native 库

时间:2021-05-29 06:28:01
【文件属性】:
文件名称:react-native-screen-corner-radius::mobile_phone: 一个用于获取设备屏幕角半径的 React Native 库
文件大小:618KB
文件格式:ZIP
更新时间:2021-05-29 06:28:01
react android ios library react-native React原生屏幕角半径 一个 React Native 库,用于获取设备屏幕的角半径。 目前,这仅适用于 iOS。 有关 Android 进度,请参阅 。 安装 npm install react-native-screen-corner-radius cd ios pod install 用法 import { ScreenCornerRadius } from "react-native-screen-corner-radius" console . log ( `Screen Corner Radius: ${ ScreenCornerRadius } ` ) 报告的值 在 iOS 14.1 上,为每个带圆角的设备报告了以下值: 设备 价值(分) iPhone X / Xs / Xs Max / 11 Pro / 11 Pro Max 39.0 iPhone Xr /
【文件预览】:
react-native-screen-corner-radius-master
----.gitattributes(71B)
----react-native-screen-corner-radius.podspec(596B)
----yarn.lock(428KB)
----src()
--------index.ts(381B)
--------__tests__()
----babel.config.js(77B)
----ios()
--------ScreenCornerRadius-Bridging-Header.h(104B)
--------ScreenCornerRadius.swift(382B)
--------ScreenCornerRadius.h(100B)
--------ScreenCornerRadius.xcodeproj()
--------UIScreen+ScreenCorners.swift(635B)
--------ScreenCornerRadius.m(167B)
----img()
--------example.png(230KB)
----.circleci()
--------config.yml(2KB)
----android()
--------.project(435B)
--------src()
--------.settings()
--------gradle.properties(163B)
--------build.gradle(3KB)
----CONTRIBUTING.md(8KB)
----example()
--------metro.config.js(1KB)
--------index.tsx(171B)
--------yarn.lock(190KB)
--------src()
--------babel.config.js(311B)
--------ios()
--------android()
--------app.json(89B)
--------package.json(563B)
----tsconfig.json(713B)
----LICENSE(1KB)
----README.md(1KB)
----.editorconfig(283B)
----.gitignore(580B)
----package.json(3KB)

网友评论