我正在制作一个 iPhone 应用程序。在这个应用程序中,我有一个 UITableView,它有一个 UITableView 标题。这就是我的代码的样子。
UIView *view = [[UIView alloc] initWithFrame:CGRectMake(30, 0, 308, 50)];
view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"sx_home_tablehead.png"]];
self.tableViewAppointments.tableHeaderView = view;
这就是我的 iPhone 上的样子
这就是我想要实现的
希望任何人都可以帮助我!
亲切的问候 !