ios - why topbar height is different in portrait and landscape? -


#import "viewcontroller.h"  @implementation viewcontroller  - (void)viewdidload {     [super viewdidload];     [self setuptopbar]; }  - (bool)prefersstatusbarhidden {     return yes; }  - (void)setuptopbar {      uinavigationbar *navigationbar = self.navigationcontroller.navigationbar;     navigationbar.tintcolor = [uicolor whitecolor];      [navigationbar setbackgroundimage:[uiimage imagenamed:@"topbar_bg_black_1px"] forbarmetrics:uibarmetricsdefault];      self.navigationitem.titleview = [[uiimageview alloc] initwithimage:[uiimage imagenamed:@"topbar_logo"]];     self.navigationitem.leftbarbuttonitem = [[uibarbuttonitem alloc] initwithimage:[uiimage imagenamed:@"topbar_icon_menu"]                                                                              style:uibarbuttonitemstyleplain                                                                             target:nil                                                                             action:nil]; }  @end 

print out here: http://goo.gl/y0buk1 topbar portrait height bigger topbar landscape height everywhere except iphone 6 plus. how make topbar landscape height equal topbar potrait height?

github: https://github.com/test1215/proto1

i think art designer moron never read apple hig and/or thinks knows better. not (something heavy got off chest). being said , professional qualities , merits of art guy aside (which merits separate discussion s.o. not being best venue flamewars , trolling) i'll end having custom navigation bar myself. solely because stock uinavigationitem can't pull arbitrarily sized png on uibarbuttonitem.image (it has 22x22 44x44 , 66x66 per hig).

not sure if helps. had comment on professional qualities of fine folks in industry run outside confines of of a. guess of americans here either polite and/or bound decease of political correctness. coming cultural background not tether me domain of pc can safely comment on root cause of troubles navbar: human factor.


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -