ios - Programmatically create UIToolbar with default height -
there number of questions regarding height of uitoolbar, don't see 1 height obtained dynamically. there way create uitoolbar correct default height?
create toolbar 0 height, call sizetofit. toolbar have default height.
uitoolbar *toolbar = [[uitoolbar alloc] initwithframe:cgrectmake(0, 0, width, 0)]; [toolbar sizetofit];
Comments
Post a Comment