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 } 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: 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 // 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
Comments
Post a Comment