iOS15(xcode13)更新后出现的bug

iOS15(xcode13)更新后出现的bug

2023年7月14日发(作者:)

iOS15(xcode13)更新后出现的bugUITableView sectionHeader下移22像素?swiftif#available(iOS15.0, *) { nHeaderTopPadding =0 }OC if(@available(iOS15.0, *)) { _nHeaderTopPadding = 0; }导航背景颜⾊修改⽆效?swiftif #available(iOS 15.0, *) { let appearance = UITabBarAppearance() ureWithOpaqueBackground() if darkMode { oundColor = ckgroundColour } else { oundColor = .white } Image = nil Color = nil rdAppearance = appearance EdgeAppearance =rdAppearance }OCif (@available(iOS 15.0, *)) { UINavigationBarAppearance *barApp = [UINavigationBarAppearance new]; oundColor = [[UIColor blueColor] colorWithAlphaComponent:0.5]; EdgeAppearance = barApp; rdAppearance = barApp; }

发布者:admin,转转请注明出处:http://www.yc00.com/web/1689264743a226436.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信