ios6 - IOS Custom UIBarbuttonItem change position in detail view -


I am trying to customize UIBarbuttonItem of my navigation bar so that I am using it my appdelegate.m // The Finnish LaunchingWith Option: {UIImage * navBarImage = [UIImage imageNamed: @ "nav-bar.png"]; [[UINavigationBar presence] setBackground image: navBarImage forBarMetrics: UIBarMetricsDefault]; [[UINavigationBar appearance] setTitleVerticalPositionAdjustment: 5 for Bermatrix: UIBarMetricsDefault]; UIImage * barButtonSave = [[UIImage imageNamed: @ "nav-bar-button.png"] Resizable CapsenseSet with Image: UIEdgeInsetsMake (0, 2, 0, 2)]; [[UIBarButtonItem Appearance] setBackgroundImage: barButtonSave forState: UIControlStateNormal Style: UIBarButtonItemStyleDone Barometrics: UIBarMetricsDefault]; [[UIBarButtonItem Appearance] setBackgroundVerticalPositionAdjustment: 5 for Bermatrix: UIBarMetricsDefault]; Yes come back

}

When I work with it, then I keep a UIBarbuttonItem with the storyboard and I am doing it. I have noticed that the "Save" button changes between my thoughts!

It seems that some pixels are running in my expanding view:

Enter image details here

Why is that?

I still do not know why but I resolved to give my custom UIbarbuttonItem image the default height of 30px .

[UIBAB controller push

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -