How to set a custom background image to tabbar?
问题 I am writing a Rubymotion app and I want to customize the TabBar. On NSScreencasts.com they explain how to do it in Objective-C but how can I transform the below code into Ruby? - (id)initWithFrame:(CGRect)frame { self = [super initWithFrame:frame]; if (self) { [self customize]; } return self; } - (id)initWithCoder:(NSCoder *)aDecoder { self = [super initWithCoder:aDecoder]; if (self) { [self customize]; } return self; } - (void)customize { UIImage *tabbarBg = [UIImage imageNamed:@"tabbar