I\'m using an image view to display an image in my nav bar. The problem is that I can\'t set it to the center correctly because of the back button. I checked the related que
I suggest you Override the function - (void)setFrame:(CGRect)fram like this:
- (void)setFrame:(CGRect)frame { [super setFrame:frame]; //systom function self.center = CGPointMake(self.superview.center.x, self.center.y); //rewrite function }
so that the titleView.center always the right location