效果图 代码 //自己创建一个view(这里我用的是自己定义的picView,换成UIView那些也是一样的) picView *picV = [[picView alloc] init]; picV.frame = CGRectMake(0, 0, self