プログラムで使用するUItabviewcontrollerのコードがありますが、x、yの幅と高さの座標が必要なアプリケーションでサブビューとして使用しているため、フレームを作成する方法。
UITabBarController *tabBarController = [[UITabBarController alloc] init];
UIViewController *vc1 = [[UIViewController alloc] init];
UIViewController *vc2 = [[UIViewController alloc] init];
UIView *v1 = [[UIView alloc] init];
UIView *v2 = [[UIView alloc] init];
vc1.title = @"vc1";
vc2.title = @"vc2";
tabBarController.viewControllers = [[NSArray alloc] initWithObjects:vc1, vc2, nil];
self.view = tabBarController.view;