![](/img/trans.png)
[英]pushViewController doesn't do anything on didSelectRowAtIndexPath in UITableView
[英]presentViewController doesn't do anything
我有一個方法叫做:
- (NSDictionary *)requestCompleted:(ASIHTTPRequest *)request{
您可能猜到了,它是在我從Web服務器收到請求時開始的。
我的問題是下一條命令可以運行,但是什么也沒做…
[self presentViewController:loadingPageVC animated:YES completion:nil];
我覺得我忘了初始化某些東西了,但是我沒錯。
嘗試這個
dispatch_async(dispatch_get_main_queue(), ^{
[self presentViewController:loadingPageVC animated:YES completion:nil];
});
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.