自定义(通过子类化)PFLogInViewController 时;我的标志有问题。我使用了一张正方形的图片,由于某种原因它被扭曲了,实际上是扁平的。
这是代码:
UIImage *logoImage;
logoImage = [UIImage imageNamed:@"myLogo.png"]; // 152 x 152 pixels.
self.logInView.logo = [[UIImageView alloc] initWithImage:logoImage];
self.logInView.logo.layer.cornerRadius = 7.0;
self.logInView.logo.clipsToBounds = YES;
难道我做错了什么?还是问题出在不同的地方?