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

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -