良く見かける iPhone の「設定」ページの縦縞の背景をUIViewControllerに設定する方法です。
探し方が悪かったのか、ちょこっと填まったのでメモしときます。
[super viewDidLoad]; // 背景を縦縞にする self.view.backgroundColor = [UIColor clearColor]; UITableView *bgView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStyleGrouped]; [self.view addSubview:bgView]; [self.view sendSubviewToBack:bgView]; // 一番後ろに
Comments