title: Objective-C Tab view controller move tab bar to top
body: <p>I create a tabviewcontroller in story board, I'm using Objective-C. </p>
  
  <p>How can I move the position of the tab bar to the top?<br>
  I found this code in swift how can it write it in Objective-C?</p>
  
  <p>okay! cool. </p>
  
  <p>Are you experienced in swift?<br>
  do you know how can i write this in Objective-C?</p>
  
  <p>Swift3: I achieve this by creating a custom class for UITabBarController:</p>
  
  <pre><code>class CustomTabBarController: UITabBarController {
  
      @IBOutlet weak var financialTabBar: UITabBar!
      override func viewDidLoad() {
          super.viewDidLoad()
          // I've added this line to viewDidLoad
          UIApplication.shared.statusBarFrame.size.height
          financialTabBar.frame = CGRect(x: 0, y:  
          financialTabBar.frame.size.height, width: 
          financialTabBar.frame.size.width, height: 
          financialTabBar.frame.size.height)
      }
  </code></pre>