Subclassing UIToolbar and overriding drawRect: - UIBarButtonItems NOT displaying
问题 Context I'm using the 'initWithNavigationBarClass' method to initialize a UINavigationController with a custom toolbar, here is the line where I alloc init the UINavigationController navigationController = [[UINavigationController alloc] initWithNavigationBarClass:nil toolbarClass:[QuestionToolbar class]]; Is the class, "QuestionToolbar", I subclass UIToolbar and override drawrect, here is the drawRect method: - (void)drawRect:(CGRect)rect { [super drawRect:rect]; UIImage *backgroundImage =