Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

UIWebViewのloadDataメソッドの引数にnilを指定しているためwarningが発生している。 #98

Closed
oonoyosp opened this issue Mar 1, 2017 · 0 comments
Assignees

Comments

@oonoyosp
Copy link
Contributor

oonoyosp commented Mar 1, 2017

不具合の概要(Description of bug)

NCMBRichPushView.m
didFailLoadWithErrorメソッド

UIWebViewのloadDataメソッドのbaseURL引数にnilを指定しているためwarningが発生しています。

  • 修正方法
    NSURLのインスタンスを代入する
[self.wv loadData:bodyData MIMEType:@"text/html" textEncodingName:@"utf-8" baseURL:[[NSURL alloc]init]];
  • SDKのバージョン(SDK version)
    v2.3.3
  • 不具合が発生した環境(Environment requirement)
  • 不具合を再現させる手順・サンプルコード(Step for Reproduce bug / Sample code)
    xcodeでビルドするとdeprecated warningが発生
  • エラーメッセージ(Error messages)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants