Sorry guys, my mistake.
I was setting layer.shouldRasterize to YES.
This has been causing the issue. Thanks for the response.
I am facing a weird issue. I have a custom UIView, which has an associated xib file. Am using the following method to load the view from xib.
- (id)initWithFrame:(CGRect)frame
{
self = [super initWithFrame:frame];
if (self) {
Class class = [self class];
NSString *nibName = NSStringFromClass(class);
NSArray *nibViews = [[NSBundle mainBundle] loadNibNamed:nibName owner:self options:nil];
self = [nibViews objectAtIndex:0];
}
return self;
}
but the view being added in my View Controller is blurred.
Am not sure what I am doing wrong.
Sorry guys, my mistake.
I was setting view's layer.shouldRasterize to YES.
This has been causing the issue. Thanks for the responses.
this is not a issue, may be its not blurred, you have applied images to all the buttons, the resolution is not appropriate i mean images are stretched so, apply 2x images to all. may be this could solve your problem.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.