xmartlabs / XLPagerTabStrip

Android PagerTabStrip for iOS.
MIT License
6.97k stars 1.33k forks source link

The class inherited from BaseButtonBarPagerTabStripViewController cannot related Storyboard... #793

Open aitadeta1314 opened 4 years ago

aitadeta1314 commented 4 years ago

I create a class inherited from BaseButtonBarPagerTabStripViewController, you know, I want to customize a class. After drap a ViewController Signal View, related a custom class. It don't quick search the customize class. Does anyone have the same problem?Please....

codobuxsocial commented 4 years ago

Facing same issue only on < iOS 13. On version iOS 13 and above it is working fine.

Found solution-

In your pagerstrip controller write this-

override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?)   {
    print("init nibName style")
    super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
}

Then in didFinishLaunchingWithOptions do-

let _ = ProfileBottomVC(nibName: nil, bundle: nil)