-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Hi,
Dear it doesn't work programmatically this my code, any hint?
DTParallaxHeaderView *headerView = [[DTParallaxHeaderView alloc] initWithFrame:CGRectMake(0, 0, 320, 200) withImage:[UIImage imageNamed:@"girl.jpg"] withTabBar:nil];
// DTHeaderView *headerView = [[DTHeaderView alloc] initWithFrame:CGRectMake(0, 0, 320, 200) withImageUrl:@"http://s3.favim.com/orig/47/colorful-fun-girl-night-ocean-Favim.com-437603.jpg" withTabBar:tabbar];
_tableView = [[DTParallaxTableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain];
[_tableView setDTHeaderView:headerView];
_tableView.showShadow = NO;
_tableView.delegate = self;
_tableView.dataSource = self;
// [_tableView reloadData];
[self.view addSubview:_tableView];
the image is not displayed and the header is not stick
Metadata
Metadata
Assignees
Labels
No labels