Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Screen Stuck #3293

Open
winterlow opened this issue Aug 30, 2017 · 1 comment
Open

Screen Stuck #3293

winterlow opened this issue Aug 30, 2017 · 1 comment

Comments

@winterlow
Copy link

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

@ay8s
Copy link
Contributor

ay8s commented Sep 27, 2017

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

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

No branches or pull requests

2 participants