- 博客(3)
- 资源 (2)
- 收藏
- 关注
原创 [IOS]Presenting modal in iOS 13 fullscreen
o I thought I'll keep them here maybe someone else will run to a different case.1- Override presentIf you have a BaseViewController you can override the present(_ viewControllerToPresent: animated flag: completion:) method.classBaseViewController:UIV
2019-11-20 23:11:52 165
原创 [IOS]如何匹配iPhone 11等新机型
print("iPhone 6/6S/7/8") case 1920, 2208: print("iPhone 6+/6S+/7+/8+") case 2436: print("iPhone X/XS/11 Pro") case 2688: print("iPhone XS M
2019-11-08 17:55:56 279
原创 (转)[IOS]关于iOS13 模态变成了卡片样式
utomatic,并且是modalPresentationStyle的默认值,而UIModalPresentationAutomatic实际是表现是在 iOS 13的设备上被映射成UIModalPresentationPageSheet。那么我们如果还想要原来的模态效果的话,我们就需要添加一行代码:vc.modalPresentationStyle = UIModalPresentationFullScreen;这样的的话,我们在运行的话效果就和iOS13之前的一样了。这里有一个
2019-11-04 19:12:34 1039
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人