将下面swift的代码翻译成oc. if #available(iOS 15.0, *) { let appearnce = UITabBarAppearance() appearnce.configureWithOpaqueBackground() appearnce.backgroundColor = .clearColor tabBarController.tabBar.standardAppearance = appearnce tabBarController.tabBar.scrollEdgeAppearance = appearnce }
时间: 2023-05-19 14:01:18 浏览: 120
ios中tabBar的实现
4星 · 用户满意度95%
if (score > 90) {
print("优秀")
} else if (score > 60) {
print("及格")
} else {
print("不及格")
}
如果 (score > 90) {
NSLog(@"优秀");
} else if (score > 60) {
NSLog(@"及格");
} else {
NSLog(@"不及格");
}
阅读全文