#import "MainViewController.h"
#import "ASMediaThumbnailsViewController.h"
@interface MainViewController ()
@end@implementation MainViewController
- (void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
//添加一个viewCOntroller到当前的controller中
blueController * blue = [[blueController alloc]init];[self addChildViewController:blue];
blue.view.frame = CGRectMake(0, 100, 320, 100);
[self.view addSubview:blue.view];
self.view.clipsToBounds = NO;
}