How to add a subview to a UIViewController?

The specific warning you are getting is because you are spelling the method name wrong; try addSubview: instead of addSubView: But, aside from that problem, you may still have difficulty getting the UITabBarController to work correctly in a subview, because it's not intended to be used that way. The UITabBarController Class Reference says: When deploying a tab bar interface, you must install this view as the root of your window. Unlike other view controllers, a tab bar interface should never be installed as a child of another view controller.

The specific warning you are getting is because you are spelling the method name wrong; try addSubview: instead of addSubView:. But, aside from that problem, you may still have difficulty getting the UITabBarController to work correctly in a subview, because it's not intended to be used that way. The UITabBarController Class Reference says: When deploying a tab bar interface, you must install this view as the root of your window.

Unlike other view controllers, a tab bar interface should never be installed as a child of another view controller.

– Sheehan Alam Jun 4 '10 at 3:45 This question stackoverflow. Com/questions/1329560/… might give you some pointers on what you you might run into and how to work around it. – David Gelhar Jun 4 '10 at 4:07.

The specific warning you are getting is because you are spelling the method name wrong; try addSubview: instead of addSubView:. But, aside from that problem, you may still have difficulty getting the UITabBarController to work correctly in a subview, because it's not intended to be used that way. Of your window.

Of another view controller.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions