Create uiTabBarController programmatically

前端 未结 5 2401
隐瞒了意图╮
隐瞒了意图╮ 2021-02-14 09:06

I want to create a UIView for a UITabBarController

Here is my code for the .h file :

@interface TE : UIViewContro         


        
5条回答
  •  有刺的猬
    2021-02-14 09:36

    Change self.view = tabBarController.view; to
    [self.view addSubview:tabBarController.view]; And it works correctly

提交回复
热议问题