In the Interface Builder (xCode/Mac) I would like to set a Textured Background color. How can I add a texture (image) so I'll be able to use a new custom background?
I know I can set the background like this:
- (void)viewDidLoad {开发者_StackOverflow
    [super viewDidLoad];
    self.view.backgroundColor = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"table_bg.png"]];
}
How can I do this with the Interface Builder?
You can't use your own UIImage's as a background pattern in Interface Builder but you can use the ones built in


 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论