mirror of
https://github.com/Finb/Bark.git
synced 2025-12-08 21:36:01 +00:00
去掉 UINavigationItem Margin, 在 iOS14 下不能用了
This commit is contained in:
parent
2aa30c9c7d
commit
e5d8326371
@ -8,12 +8,9 @@
|
||||
|
||||
import UIKit
|
||||
import Material
|
||||
import UINavigationItem_Margin
|
||||
class BarkNavigationController: UINavigationController{
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
self.navigationItem.leftMargin = 8
|
||||
self.navigationItem.rightMargin = 8
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -13,8 +13,6 @@ class BaseViewController: UIViewController {
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
self.view.backgroundColor = Color.grey.lighten5
|
||||
self.navigationItem.leftMargin = 8
|
||||
self.navigationItem.rightMargin = 8
|
||||
}
|
||||
|
||||
override var preferredStatusBarStyle: UIStatusBarStyle{
|
||||
|
||||
1
Podfile
1
Podfile
@ -15,7 +15,6 @@ def pods
|
||||
pod 'DeviceKit'
|
||||
pod 'DefaultsKit', :git => 'https://github.com/nmdias/DefaultsKit'
|
||||
pod 'IceCream'
|
||||
pod 'UINavigationItem+Margin'
|
||||
end
|
||||
|
||||
target 'Bark' do
|
||||
|
||||
@ -28,7 +28,6 @@ PODS:
|
||||
- SnapKit (5.0.1)
|
||||
- SVProgressHUD (2.2.5)
|
||||
- SwiftyJSON (5.0.0)
|
||||
- "UINavigationItem+Margin (2.1.1)"
|
||||
|
||||
DEPENDENCIES:
|
||||
- DefaultsKit (from `https://github.com/nmdias/DefaultsKit`)
|
||||
@ -42,11 +41,8 @@ DEPENDENCIES:
|
||||
- SnapKit
|
||||
- SVProgressHUD
|
||||
- SwiftyJSON
|
||||
- "UINavigationItem+Margin"
|
||||
|
||||
SPEC REPOS:
|
||||
https://github.com/CocoaPods/Specs.git:
|
||||
- "UINavigationItem+Margin"
|
||||
trunk:
|
||||
- Alamofire
|
||||
- DeviceKit
|
||||
@ -90,8 +86,7 @@ SPEC CHECKSUMS:
|
||||
SnapKit: 97b92857e3df3a0c71833cce143274bf6ef8e5eb
|
||||
SVProgressHUD: 1428aafac632c1f86f62aa4243ec12008d7a51d6
|
||||
SwiftyJSON: 36413e04c44ee145039d332b4f4e2d3e8d6c4db7
|
||||
"UINavigationItem+Margin": 7368d506fb2f7daa0c0489846cc8c2384ab1ab6d
|
||||
|
||||
PODFILE CHECKSUM: 179f10f903da643b7f8bb2079d8f88b0f8e32323
|
||||
PODFILE CHECKSUM: 90c7dcd577fc40757291126890d6791408bb905a
|
||||
|
||||
COCOAPODS: 1.8.4
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user