1
2
3
4
5
6
7
8
| 进入framework目录下
cd FrameworkPath/OrionServiceSDK.framework
查看支持的架构:i386 x86_64 armv7 arm64
lipo -info OrionServiceSDK
剔除i386
lipo -remove i386 OrionServiceSDK -o OrionServiceSDK
剔除x86_64
lipo -remove x86_64 OrionServiceSDK -o OrionServiceSDK
|
1
2
3
4
5
6
7
8
| if (@available(iOS 13.0, *)) {
UITabBarAppearance *appearance = [UITabBarAppearance new];
appearance.backgroundColor = [UIColor whiteColor];
appearance.backgroundImage = [UIImage new];
appearance.shadowColor = [UIColor clearColor];
appearance.shadowImage = [UIImage new];
self.standardAppearance = appearance;
}
|
1
| 修改UITextfield的placeholder颜色可以通过设置attributedPlaceholder实现。可以设置
|
1
| 在info.plist里面添加 Bundle display name 并设置值
|
1
2
3
4
5
6
| - (UIStatusBarStyle)preferredStatusBarStyle {
if (@available(iOS 13.0, *)) {
return UIStatusBarStyleDarkContent;
}
return UIStatusBarStyleDefault;
}
|
1
| 前往Build Setting搜索launch image编辑对应值
|