Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は現在、CordovaとXcodeを使用してiPhone用のハイブリッドアプリを開発しています。
デフォルトでは、ファイルindex.htmlが作成され、アプリケーションの開始点になります。
このデフォルトの動作を変更して、アプリケーションを自分が指定したページから開始する方法はありますか?
アプリケーションが開始するファイルの参照をアプリデリゲートファイルに指定する必要があります。次の手順を実行します。1。wwwフォルダーにhtmlページを作成して追加します。2。appDelegateファイルの次のコードを変更します。
self.viewController.wwwFolderName = @"www"; self.viewController.startPage = @"yourFile.html";