Commit 9361b083 by Daniel Dahan

issue-957: Fixed StatusBar height issue in iOS 9 and iOS 10.

parent c4e19568
## 2.12.15
* [issue-957](https://github.com/CosmicMind/Material/issues/957): Fixed StatusBar height issue in iOS 9 and iOS 10.
## 2.12.14
* [samples issue-95](https://github.com/CosmicMind/Samples/issues/95): Fixed TabBar image colors that were not correctly being set for a given state.
......
Pod::Spec.new do |s|
s.name = 'Material'
s.version = '2.12.14'
s.version = '2.12.15'
s.license = 'BSD-3-Clause'
s.summary = 'A UI/UX framework for creating beautiful applications.'
s.homepage = 'http://materialswift.com'
......
......@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.12.14</string>
<string>2.12.15</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
......
......@@ -97,6 +97,8 @@ open class StatusBarController: TransitionController {
if #available(iOS 11, *) {
let v = topLayoutGuide.length
statusBar.frame.size.height = 0 < v ? v : 20
} else {
statusBar.frame.size.height = 20
}
switch displayStyle {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment