-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSocialTabViewController.swift
38 lines (31 loc) · 1.1 KB
/
SocialTabViewController.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// SocialTabsViewController.swift
// comblie
//
// Created by Cal on 10/14/15.
// Copyright © 2015 Comblie. All rights reserved.
//
import UIKit
class SocialTabViewController: UITabBarController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
}
override func viewWillLayoutSubviews()
{
var tabFrame = self.tabBar.frame
// - 40 is editable , I think the default value is around 50 px, below lowers the tabbar and above increases the tab bar size
tabFrame.size.height = 40
tabFrame.origin.y = self.view.frame.size.height - 40
self.tabBar.frame = tabFrame
self.tabBar.alpha = CGFloat(0.0)
}
/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
// Get the new view controller using segue.destinationViewController.
// Pass the selected object to the new view controller.
}
*/
}