开发者

UIMapView does not show content at first time

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜