• <tfoot id='2JZUG'></tfoot>
    1. <i id='2JZUG'><tr id='2JZUG'><dt id='2JZUG'><q id='2JZUG'><span id='2JZUG'><b id='2JZUG'><form id='2JZUG'><ins id='2JZUG'></ins><ul id='2JZUG'></ul><sub id='2JZUG'></sub></form><legend id='2JZUG'></legend><bdo id='2JZUG'><pre id='2JZUG'><center id='2JZUG'></center></pre></bdo></b><th id='2JZUG'></th></span></q></dt></tr></i><div id='2JZUG'><tfoot id='2JZUG'></tfoot><dl id='2JZUG'><fieldset id='2JZUG'></fieldset></dl></div>
      <legend id='2JZUG'><style id='2JZUG'><dir id='2JZUG'><q id='2JZUG'></q></dir></style></legend>

      <small id='2JZUG'></small><noframes id='2JZUG'>

        <bdo id='2JZUG'></bdo><ul id='2JZUG'></ul>

        Xcode 4.2 iOS 空应用程序和故事板

        时间:2023-05-31

        <small id='vj1a9'></small><noframes id='vj1a9'>

            • <bdo id='vj1a9'></bdo><ul id='vj1a9'></ul>
                <tbody id='vj1a9'></tbody>
              <tfoot id='vj1a9'></tfoot>

                  <i id='vj1a9'><tr id='vj1a9'><dt id='vj1a9'><q id='vj1a9'><span id='vj1a9'><b id='vj1a9'><form id='vj1a9'><ins id='vj1a9'></ins><ul id='vj1a9'></ul><sub id='vj1a9'></sub></form><legend id='vj1a9'></legend><bdo id='vj1a9'><pre id='vj1a9'><center id='vj1a9'></center></pre></bdo></b><th id='vj1a9'></th></span></q></dt></tr></i><div id='vj1a9'><tfoot id='vj1a9'></tfoot><dl id='vj1a9'><fieldset id='vj1a9'></fieldset></dl></div>

                  <legend id='vj1a9'><style id='vj1a9'><dir id='vj1a9'><q id='vj1a9'></q></dir></style></legend>
                1. 本文介绍了Xcode 4.2 iOS 空应用程序和故事板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我是 Xcode 新手,我正在尝试制作我的第一个培训应用程序.因为显然空应用程序模板是唯一提供预集成核心数据的模板,所以我选择了它.但是,在那之后,我无法让 UI 工作(它仍然是空的).

                  I'm an Xcode newbie, and I'm trying to make my first training app. Since apparently Empty Application template is the only template that offers pre-integrated Core Data, I choose that. However, after that, I can't get UI to work (it remains empty).

                  我做了什么:

                  • 空应用程序模板
                  • 新的 iPad 故事板文件
                  • 将标签栏控制器溅到上面
                  • 更改了项目摘要视图中的主要故事板
                  • 点击⌘R
                  • 盯着纯白色的 iPad 屏幕,没有任何标签

                  我尝试对比我创建为标签栏应用程序的另一个项目(它确实反映了我的情节提要更改),但没有任何见解.

                  I tried diffing against another project that I created as a Tab Bar Application (which does reflect my Storyboard changes), without any insight.

                  推荐答案

                  注释掉(或删除)AppDelegate.m中的窗口创建和显示代码如下:

                  Comment out (or remove) the window creation and display code in AppDelegate.m as follows:

                  - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
                  {
                      // self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
                      // Override point for customization after application launch.
                      // self.window.backgroundColor = [UIColor whiteColor];
                      // [self.window makeKeyAndVisible];
                  
                      return YES;
                  }
                  

                  使用情节提要时,会自动为您创建一个主 UIWindow.您的情况是,您正在创建另一个白色窗口并将其放在选项卡 UI 的顶部.

                  When using a storyboard, a main UIWindow is created for you automatically. What is happening in your case is that you are creating another white window and putting it over the top of the tab UI.

                  ALSO - 请注意,主/明细模板还为您提供了核心数据选项.

                  ALSO - note that the Master/Detail template also gives you a core data option.

                  这篇关于Xcode 4.2 iOS 空应用程序和故事板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:我想从 MapKit for iPhone 中的坐标值中获取位置名称 下一篇:iOS5 默认显示数字小键盘,不使用 type="numbe

                  相关文章

                  最新文章

                      <bdo id='6tElX'></bdo><ul id='6tElX'></ul>
                    <i id='6tElX'><tr id='6tElX'><dt id='6tElX'><q id='6tElX'><span id='6tElX'><b id='6tElX'><form id='6tElX'><ins id='6tElX'></ins><ul id='6tElX'></ul><sub id='6tElX'></sub></form><legend id='6tElX'></legend><bdo id='6tElX'><pre id='6tElX'><center id='6tElX'></center></pre></bdo></b><th id='6tElX'></th></span></q></dt></tr></i><div id='6tElX'><tfoot id='6tElX'></tfoot><dl id='6tElX'><fieldset id='6tElX'></fieldset></dl></div>
                  1. <small id='6tElX'></small><noframes id='6tElX'>

                  2. <legend id='6tElX'><style id='6tElX'><dir id='6tElX'><q id='6tElX'></q></dir></style></legend>
                    <tfoot id='6tElX'></tfoot>