File tree 4 files changed +18
-2
lines changed
4 files changed +18
-2
lines changed Original file line number Diff line number Diff line change
1
+ ## 2.12.10
2
+
3
+ * [ samples-issue-78] ( https://github.com/CosmicMind/Samples/issues/78 ) : Fixed iPhoneX bottomLayoutGuide constraints not properly being set.
4
+
1
5
## 2.12.9
2
6
3
7
* Fixed breaking change to loading the TabsController.
Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = 'Material'
3
- s . version = '2.12.9 '
3
+ s . version = '2.12.10 '
4
4
s . license = 'BSD-3-Clause'
5
5
s . summary = 'A UI/UX framework for creating beautiful applications.'
6
6
s . homepage = 'http://materialswift.com'
Original file line number Diff line number Diff line change 15
15
<key >CFBundlePackageType </key >
16
16
<string >FMWK </string >
17
17
<key >CFBundleShortVersionString </key >
18
- <string >2.12.9 </string >
18
+ <string >2.12.10 </string >
19
19
<key >CFBundleSignature </key >
20
20
<string >???? </string >
21
21
<key >CFBundleVersion </key >
Original file line number Diff line number Diff line change @@ -290,6 +290,18 @@ fileprivate extension TabsController {
290
290
291
291
/// Layout the tabBar.
292
292
func layoutTabBar( ) {
293
+ if #available( iOS 11 , * ) {
294
+ if . bottom == tabBarAlignment {
295
+ let v = bottomLayoutGuide. length
296
+
297
+ if 0 < v {
298
+ tabBar. heightPreset = { tabBar. heightPreset } ( )
299
+ tabBar. frame. size. height += v
300
+ tabBar. grid. layoutEdgeInsets. bottom = v
301
+ }
302
+ }
303
+ }
304
+
293
305
tabBar. frame. origin. x = 0
294
306
tabBar. frame. origin. y = . top == tabBarAlignment ? 0 : view. bounds. height - tabBar. bounds. height
295
307
tabBar. frame. size. width = view. bounds. width
You can’t perform that action at this time.
0 commit comments