uiappearance - iOS: Change appearance of UIView only (no subclasses) - possible? -
i have project many view controllers, , want of them have parent views tiled background image. do
[[uiview appearance] setbackgroundcolor: [uicolor colorwithpatternimage:[uiimage imagenamed:@"backgroundpattern"]]]; the problem is, set background of other uiview subclassing objects (uibuttons, uilabels, etc.). can change uiview background?
if use appearance proxy @ class level there's no choice. you're going modify every uiview subclass.
i don't see many other options subclassing uiviewcontroller, changing appearence of subclass' view , making others uiviewcontroller subclass of first one.
Comments
Post a Comment