In My iPad app, I accidentally deleted the MainWindow.Xib, any solution?
Thank you
In My iPad app, I accidentally deleted the MainWindow.Xib, any solution?
Thank you
同じテンプレートの別のプロジェクトから MainWindow.xib をコピーして貼り付け、そのファイルのクラスを appdelegate クラスの名前に設定します。または、新しい xib (uiapplication) を追加し、そのデリゲートをアプリのデリゲートに設定します
その後、再作成する必要があります。
File-> New-> File...--- iOS User Interface-> View-> Next-> iPad-> Next-> 名前を設定MainViewController.xib->Createそしてヴィオラ...
あなたはやった!
また...
TimeMachineを使用してバックアップするか、バージョン管理システム (つまり git) を使用している場合は、削除をリセットするだけで元のファイルを取り戻すことができますMainViewController.xib。