同步操作将从 兰德网络O2OA平台软件/O2OA 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
//// ZLNavigationController.swift// O2Platform//// Created by 刘振兴 on 16/6/16.// Copyright © 2016年 zoneland. All rights reserved.//import UIKitclass ZLNavigationController: UINavigationController {override func viewDidLoad() {super.viewDidLoad()self.navigationBar.isTranslucent = falseself.navigationBar.barTintColor = navbar_barTint_colorself.navigationBar.tintColor = navbar_tint_colorself.navigationBar.titleTextAttributes = [NSAttributedString.Key.font:navbar_text_font,NSAttributedString.Key.foregroundColor:navbar_tint_color]self.toolbar.barTintColor = navbar_barTint_colorself.toolbar.tintColor = navbar_tint_colorself.toolbar.barStyle = .default// //隐藏返回按钮文字let barItem = UIBarButtonItem.appearance()let offset = UIOffset(horizontal: -200, vertical: 0)barItem.setBackButtonTitlePositionAdjustment(offset, for: .default)barItem.setTitleTextAttributes([NSAttributedString.Key.font:navbar_item_font,NSAttributedString.Key.foregroundColor:navbar_tint_color], for:UIControl.State())}override func pushViewController(_ viewController: UIViewController, animated: Bool) {if viewControllers.count > 0 {viewController.hidesBottomBarWhenPushed = true}super.pushViewController(viewController, animated: animated)}override var preferredStatusBarStyle : UIStatusBarStyle {return .lightContent}// override func childViewControllerForStatusBarStyle() -> UIViewController? {// return self.topViewController// }}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。