Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UITableView crashes when i scroll through cells #37

Open
swaza opened this issue Feb 11, 2014 · 0 comments
Open

UITableView crashes when i scroll through cells #37

swaza opened this issue Feb 11, 2014 · 0 comments

Comments

@swaza
Copy link

swaza commented Feb 11, 2014

I am using the following code to present my UITableView as a modal.

MusicViewController *MusicVC =[[MusicViewController alloc] initWithNibName:nil bundle:nil];
RNBlurModalView *modal;
modal = [[RNBlurModalView alloc] initWithView:MusicVC.view];
[modal show];
modal.isNavigationStyle = YES;
The MusicVC gets presented without any issues and i get a nice blur effect in the background . However when i scroll up and down the MusicVC tableview cells I get a crash. Any help much appreciated.

Below is how my viewDidLoad looks like

  • (void)viewDidLoad
    {
    [super viewDidLoad];
    self.music_tableView = [[UITableView alloc] initWithFrame:CGRectMake(0,0,SCREEN_WIDTH,SCREEN_HEIGHT) style:UITableViewStylePlain];
    self.music_tableView.delegate = self;
    self.music_tableView.dataSource = self;

    self.music_tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
    self.music_tableView.scrollEnabled = YES;
    self.music_tableView.backgroundColor = [UIColor clearColor];
    [self.music_tableView setContentInset:UIEdgeInsetsMake(64.0f,0.0f,44.0f,0.0f)];

    [self.view addSubview:music_tableView];

    [self getMediaResults:passed_performer_id];

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant