AsyncDisplayKit icon indicating copy to clipboard operation
AsyncDisplayKit copied to clipboard

Screen Stuck

Open winterlow opened this issue 7 years ago • 1 comments

In first controller WEAK_SELF(weakSelf); JSHCCommentDeatilController *jvc = [[JSHCCommentDeatilController alloc] initWithModel:model]; jvc.callback = ^{ [weakSelf performSelector:@selector(doNetworkRequestForNewsDetail) withObject:nil afterDelay:0.5]; }; [self.navigationController pushViewController:jvc animated:YES]; In SEL doNetworkRequestForNewsDetail, if successed,the controller will reload the tableNode.

IN JSHCCommentDeatilController, I manual did a network request,if it successed, I tried the next code: if ([[dic objectForKey:@"status"] intValue]) { if (self.callback) { self.callback(); } [self.navigationController popViewControllerAnimated:YES]; } but it stuck in the first controller, how can I resolve this? Please help

winterlow avatar Aug 30 '17 02:08 winterlow

Please update to use Texture and ask any questions over in the Texture repository. https://github.com/texturegroup/texture

ay8s avatar Sep 27 '17 23:09 ay8s