ios - How to increase the height of UINavigationBar? -
simple question: how can increase height of navigation bar additional widgets fit in there while keeping blur?
examples calendar app weekday abbreviations added bottom of navigation bar...
...and in mail when move mail different folder:
as ianurag post ans correct still have ui problem (width not proper)
can change size adding category below
sample project
download
code
#import "viewcontroller.h" @implementation uinavigationbar (customnav) - (cgsize)sizethatfits:(cgsize)size { cgrect rec = self.frame; cgrect screenrect = [[uiscreen mainscreen] bounds]; rec.size.width = screenrect.size.width; rec.size.height = 70; return rec.size; } @end
output
when press on "button"
problem in ianurag code
Comments
Post a Comment