UIPopoverController怎么修改背景色
展开全部
1、设置backgroundview
UIView *tempView = [[[UIView alloc] init] autorelease];
[self.tableview setBackgroundView:tempView];
2、如果是group型的tableview,把tableview的背景图设为nil
for (UIView * view in [[settingViewController.view.subviews objectAtIndex:0] subviews]) {
UIImageView *imageView = (UIImageView *)view;
imageView.image = nil;
}
UIView *tempView = [[[UIView alloc] init] autorelease];
[self.tableview setBackgroundView:tempView];
2、如果是group型的tableview,把tableview的背景图设为nil
for (UIView * view in [[settingViewController.view.subviews objectAtIndex:0] subviews]) {
UIImageView *imageView = (UIImageView *)view;
imageView.image = nil;
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询