ios添加获取底部高度的接口
parent
857e255001
commit
17f241564f
|
|
@ -29,9 +29,11 @@ public class NotchScreenUtil
|
||||||
//初始化
|
//初始化
|
||||||
[DllImport("__Internal")]
|
[DllImport("__Internal")]
|
||||||
private static extern string m_GetNotchHeight();
|
private static extern string m_GetNotchHeight();
|
||||||
|
[DllImport("__Internal")]
|
||||||
|
private static extern string m_GetNotchBottomHeight();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
private NotchScreenUtil()
|
private NotchScreenUtil()
|
||||||
{
|
{
|
||||||
#if UNITY_IOS
|
#if UNITY_IOS
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue