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
Hi,
Dear it doesn't work programmatically this my code, any hint?
the image is not displayed and the header is not stick