0

i have a tab bar controller in my storyboard. I have added a third view controller created a tab link for it (segue). When I run the app the third tab shows with all its objects perfectly. Next I create a ThirdViewController.m and .h file .In Identity Inspector I have set the class for my third tab item as ThirdViewController. When I run the app the third tab item just displays a black screen?

Cœur
  • 37,241
  • 25
  • 195
  • 267
pnizzle
  • 6,243
  • 4
  • 52
  • 81

1 Answers1

0

Remove the loadView method that Xcode adds in the view controller. Answer taken here: Answer

Community
  • 1
  • 1
pnizzle
  • 6,243
  • 4
  • 52
  • 81