1.

    self.contentMode = UIViewContentModeScaleAspectFill;
self.clipsToBounds = YES;

http://blog.csdn.net/yuanpeng1014/article/details/70888584

05-11 18:10