UIWebView loadHTMLString shows blank screen

前端 未结 3 914
一向
一向 2021-02-07 04:52

I have a strange problem with UIWebView\'s loadHTMLString, where it would only display a blank view when I called loadHTMLString with my content HTML string. It does not matter

3条回答
  •  故里飘歌
    2021-02-07 05:09

    From your initialization code for the UIWebView, it looks like you're adding wcbbcPanel at a position that would be off the screen. Try this instead:

    wcbbcPanel = [[WarrantsAndCbbc alloc] initWithFrame:CGRectMake(0, 0, 320, 230)];
    

提交回复
热议问题