Skip to content

Commit

Permalink
Update to 1.0.5
Browse files Browse the repository at this point in the history
Fix height navBar for iphone with safe area smaller whan 20.
  • Loading branch information
ivanvorobei committed Mar 28, 2019
1 parent e70618e commit f73161c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions SPFakeBar.podspec
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
Pod::Spec.new do |s|
s.name = "SPFakeBar"
s.version = "1.0.2"
s.version = "1.0.5"
s.summary = "Fake navigation bar with full customize"
s.homepage = "https://github.com/IvanVorobei/SPFakeBar"
s.source = { :git => "https://github.com/IvanVorobei/SPFakeBar.git", :tag => s.version }
s.license = { :type => "MIT", :file => "LICENSE" }

s.author = { "Ivan Vorobei" => "[email protected]" }

s.swift_version = '4.2'
s.swift_version = '4.2', '5.0'
s.platform = :ios
s.ios.framework = 'UIKit'
s.ios.deployment_target = "10.0"

s.source_files = "Source/SPFakeBar/**/*.swift"
Expand Down
2 changes: 1 addition & 1 deletion Source/SPFakeBar/SPFakeBarView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ open class SPFakeBarView: UIView {
self.height = 140 - 44
self.titleBottomConstraint?.constant = -8
} else {
self.height = 112 - 20
self.height = 116 - 20
self.titleBottomConstraint?.constant = -4
}
self.addStatusBarHeight = true
Expand Down

0 comments on commit f73161c

Please sign in to comment.