![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
iphonex
思玉
码农
展开
-
unity3d iPhone X 适屏代码 屏幕适应方案
添加获取ios手机型号方法#import <sys/utsname.h>+ (NSString*)getDeviceVersion{ struct utsname systemInfo; uname(&systemInfo); NSString *deviceVersion = [NSString stringWithCString:systemInfo.machine enc原创 2017-11-09 11:33:34 · 12371 阅读 · 9 评论 -
unity3d iPhone X home键 适应方案
unity3d iPhone X home键 适应方案在unity导出的xcode工程里面 查找UnityViewControllerBase.h增加方法如下- (UIRectEdge)preferredScreenEdgesDeferringSystemGestures; - (BOOL)prefersHomeIndicatorAutoHidden; 在unity导出的xcode工程里面 查找原创 2017-12-08 14:50:38 · 1279 阅读 · 0 评论