I want to Center a logo on the SideMenu and this is the code so far:
UIImageView *logo =[[UIImageView alloc] init];
logo.image=[UIImage imageNamed:@"menulogo"];
logo.contentMode = UIViewContentModeScaleToFill;
logo.layer.cornerRadius = cornerRadius;
logo.layer.masksToBounds = YES;
logo.frame = container.bounds;
[container addSubview:logo];
[headerView addSubview:container];