Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MrA

macrumors newbie
Original poster
Jul 13, 2008
9
0
Hi all,

The settings app has a vertically stripey background. How can I use this as a background to a UIView?

Thanks.
 

Enuratique

macrumors 6502
Apr 28, 2008
276
0
Hi all,

The settings app has a vertically stripey background. How can I use this as a background to a UIView?

Thanks.

As far as I know, that's the background for a grouped UITableView... I don't know if there's any way to get that background for a regular UIView.
 

MrA

macrumors newbie
Original poster
Jul 13, 2008
9
0
^ That's unfortunate. :( I guess I could recreate it using core graphics, but I'd like something more "standard".

EDIT: Done... the non-standard way. I just make a 7x1 PNG with the pattern, loaded it with UIImage and used drawAsPatternInRect: to draw it in the drawRect method of my UIView. I'm posting here for reference in case anyone needs to do the same.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.