Organizational Research By

Surprising Reserch Topic

iphone how to set uiviewcontroller frame using -'iphone,ios,uiview,uiviewcontroller'


iphone how to set uiviewcontroller frame  using -'iphone,ios,uiview,uiviewcontroller'

I have a root UIViewController that I am adding other UIViewController's as subviews.  Currently each of the subviews are too low down (covering up my custom build tabbar).  When I try to so something like the following, it does not work:

// Test setting frame size to see if it works
self.view.frame = CGRectMake(0, 0, 200, 200);


That does nothing to change the frame size.

So, my question is, how can I set my frame when the UIViewController is initialized after it is added as the subview?
    
asked Sep 7, 2015 by rajesh
0 votes
10 views



Related Hot Questions



Government Jobs Opening


...