开发者

UIMapView does not show content at first time

开发者 https://www.devze.com 2023-01-12 05:32 出处:网络
I have a ViewContr开发者_如何学运维oller has a UIMapView as IBOutlet and the ViewController will be pushed into a navigationViewController. I use loadHtmlString:baseURL: method to set the content of t

I have a ViewContr开发者_如何学运维oller has a UIMapView as IBOutlet and the ViewController will be pushed into a navigationViewController. I use loadHtmlString:baseURL: method to set the content of the UIMapView, which works fine. But the content does not show at the first time when I pushed the ViewController to the NavigationViewController

    [richContent loadHTMLString: [NSString stringWithFormat:template, 
      article.articleTitle, 
      stringFromDate, 
      article.bigImage, 
      html] 
  baseURL: [[NSBundle mainBundle] resourceURL]]; 

Dunno where is the problem...

Thanks.

0

精彩评论

暂无评论...
验证码 换一张
取 消