iphoneのwebviewアプリを書いてるんですが下記のエラーが出て
止まってしまっています。
これの対応方法を教えいただけないでしょうか?
環境設定がおかしいのでしょうか?
###発生している問題・エラーメッセージ
file:///Users/keios/Desktop/TestApp/TestApp/Base.lproj/LaunchScreen.storyboard: error: Illegal Configuration: Launch screens may not set custom classnames
###該当のソースコード
import UIKit class WebViewControler: UIViewController ,UIWebViewDelegate{ @IBOutlet weak var Webview: UIWebView! override func viewDidLoad() { super.viewDidLoad() self.Webview.delegate = self let url = URL (string: "http://www.google.co.jp/") let requestObj = URLRequest(url: url!) Webview.loadRequest(requestObj); // Do any additional setup after loading the view. } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() // Dispose of any resources that can be recreated. } /* // MARK: - Navigation // In a storyboard-based application, you will often want to do a little preparation before navigation override func prepare(for segue: UIStoryboardSegue, sender: Any?) { // Get the new view controller using segue.destinationViewController. // Pass the selected object to the new view controller. } */ }
###試したこと
ネット上にあるサンプルコードをダウンロードして試してみてるんですが
どれも同じようなエラーが出てしまっています。
###補足情報(言語/FW/ツール等のバージョンなど)
Xcode 8.3.3
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。