Seeing black bars at the top and bottom of the iPhone X Simulator

Multi tool use
Multi tool use












108















Running my App in the iPhone X Simulator (GM Seed) I am noticing two strange effects:




  • the App does not use the full screen space (top and bottom area is black)

  • a strange white bar beneath the title bar


enter image description here



Does anybody know what is happening here and how to resolve this? I can't find any new settings in Interface Builder.










share|improve this question




















  • 1





    Are you using a Launch Screen file or launch images? Are you using auto layout?

    – rmaddy
    Sep 12 '17 at 20:38






  • 1





    Launch images and auto layout

    – Darko
    Sep 12 '17 at 20:38






  • 3





    Why are you using the old style launch images instead of the much easier Launch Screen file? Anyway, have you added the new launch image needed for the new screen size?

    – rmaddy
    Sep 12 '17 at 20:39











  • I can't find a launch image for the iPhone X size. But using a launch screen solved both issues. Please edit your response and I will mark it as answered. Thanks!

    – Darko
    Sep 12 '17 at 20:44






  • 5





    You SHOULDN'T USE launch images. USE Launch Screen.storyboard instead

    – onmyway133
    Sep 13 '17 at 7:52
















108















Running my App in the iPhone X Simulator (GM Seed) I am noticing two strange effects:




  • the App does not use the full screen space (top and bottom area is black)

  • a strange white bar beneath the title bar


enter image description here



Does anybody know what is happening here and how to resolve this? I can't find any new settings in Interface Builder.










share|improve this question




















  • 1





    Are you using a Launch Screen file or launch images? Are you using auto layout?

    – rmaddy
    Sep 12 '17 at 20:38






  • 1





    Launch images and auto layout

    – Darko
    Sep 12 '17 at 20:38






  • 3





    Why are you using the old style launch images instead of the much easier Launch Screen file? Anyway, have you added the new launch image needed for the new screen size?

    – rmaddy
    Sep 12 '17 at 20:39











  • I can't find a launch image for the iPhone X size. But using a launch screen solved both issues. Please edit your response and I will mark it as answered. Thanks!

    – Darko
    Sep 12 '17 at 20:44






  • 5





    You SHOULDN'T USE launch images. USE Launch Screen.storyboard instead

    – onmyway133
    Sep 13 '17 at 7:52














108












108








108


25






Running my App in the iPhone X Simulator (GM Seed) I am noticing two strange effects:




  • the App does not use the full screen space (top and bottom area is black)

  • a strange white bar beneath the title bar


enter image description here



Does anybody know what is happening here and how to resolve this? I can't find any new settings in Interface Builder.










share|improve this question
















Running my App in the iPhone X Simulator (GM Seed) I am noticing two strange effects:




  • the App does not use the full screen space (top and bottom area is black)

  • a strange white bar beneath the title bar


enter image description here



Does anybody know what is happening here and how to resolve this? I can't find any new settings in Interface Builder.







ios uinavigationbar ios-simulator xcode9 iphone-x






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 22 '17 at 10:01









Paolo Forgia

4,52262849




4,52262849










asked Sep 12 '17 at 20:30









DarkoDarko

5,15352135




5,15352135








  • 1





    Are you using a Launch Screen file or launch images? Are you using auto layout?

    – rmaddy
    Sep 12 '17 at 20:38






  • 1





    Launch images and auto layout

    – Darko
    Sep 12 '17 at 20:38






  • 3





    Why are you using the old style launch images instead of the much easier Launch Screen file? Anyway, have you added the new launch image needed for the new screen size?

    – rmaddy
    Sep 12 '17 at 20:39











  • I can't find a launch image for the iPhone X size. But using a launch screen solved both issues. Please edit your response and I will mark it as answered. Thanks!

    – Darko
    Sep 12 '17 at 20:44






  • 5





    You SHOULDN'T USE launch images. USE Launch Screen.storyboard instead

    – onmyway133
    Sep 13 '17 at 7:52














  • 1





    Are you using a Launch Screen file or launch images? Are you using auto layout?

    – rmaddy
    Sep 12 '17 at 20:38






  • 1





    Launch images and auto layout

    – Darko
    Sep 12 '17 at 20:38






  • 3





    Why are you using the old style launch images instead of the much easier Launch Screen file? Anyway, have you added the new launch image needed for the new screen size?

    – rmaddy
    Sep 12 '17 at 20:39











  • I can't find a launch image for the iPhone X size. But using a launch screen solved both issues. Please edit your response and I will mark it as answered. Thanks!

    – Darko
    Sep 12 '17 at 20:44






  • 5





    You SHOULDN'T USE launch images. USE Launch Screen.storyboard instead

    – onmyway133
    Sep 13 '17 at 7:52








1




1





Are you using a Launch Screen file or launch images? Are you using auto layout?

– rmaddy
Sep 12 '17 at 20:38





Are you using a Launch Screen file or launch images? Are you using auto layout?

– rmaddy
Sep 12 '17 at 20:38




1




1





Launch images and auto layout

– Darko
Sep 12 '17 at 20:38





Launch images and auto layout

– Darko
Sep 12 '17 at 20:38




3




3





Why are you using the old style launch images instead of the much easier Launch Screen file? Anyway, have you added the new launch image needed for the new screen size?

– rmaddy
Sep 12 '17 at 20:39





Why are you using the old style launch images instead of the much easier Launch Screen file? Anyway, have you added the new launch image needed for the new screen size?

– rmaddy
Sep 12 '17 at 20:39













I can't find a launch image for the iPhone X size. But using a launch screen solved both issues. Please edit your response and I will mark it as answered. Thanks!

– Darko
Sep 12 '17 at 20:44





I can't find a launch image for the iPhone X size. But using a launch screen solved both issues. Please edit your response and I will mark it as answered. Thanks!

– Darko
Sep 12 '17 at 20:44




5




5





You SHOULDN'T USE launch images. USE Launch Screen.storyboard instead

– onmyway133
Sep 13 '17 at 7:52





You SHOULDN'T USE launch images. USE Launch Screen.storyboard instead

– onmyway133
Sep 13 '17 at 7:52












8 Answers
8






active

oldest

votes


















165














When using launch images (instead of the much easier Launch screen file), you need to provide the properly sized launch image for each device size you wish to support. Once you add the additional launch image, your app should take advantage of the new screen size.



The new iPhone X requires a launch image sized at 1125px × 2436px which is a 3x image for 375pt × 812pt.



Of course if you switch over to using a Launch screen file instead of individual launch images, your app will automatically adapt to all device sizes without any additional work.






share|improve this answer



















  • 2





    can you go into more detail on how to integrate the new iphoneX image into a Launch Screen? Any Image Sets I add to Xcode 9 don't have iphoneX slots, only Launch Image sets.

    – Christian Cerri
    Sep 13 '17 at 6:49






  • 1





    @ChristianCerri Image sets are not tied to devices. They just give you 1x, 2x, and 3x options. I was referring to launch images. Those are the only device specific images. If you have a question about adding different sized images to a Launch screen then please post your own question specific to that issue.

    – rmaddy
    Sep 13 '17 at 6:52











  • just did as you asked: stackoverflow.com/questions/46191522/…

    – Christian Cerri
    Sep 13 '17 at 8:19






  • 7





    How the hell launch images related to blackbar on top and bottom of iPhone X simulator ??!

    – TomSawyer
    Sep 23 '17 at 18:46






  • 1





    See answer from @sabiland if you're still seeing black bars and using a launch screen. Would be great if this answer could be supplemented with the tidbit about how to design the launch screen properly for iPhone X.

    – Crashalot
    Nov 9 '17 at 10:03



















28














I have figured out this issues in iPhone X. Launch image size (1125*2436px)
Please flow this below steps.
1.i)Choose your project name in Xcode.
ii)Select your project target
iii)Then select Launch images source
enter image description here




  1. You can get Migrate popup
    i) Choose Assets
    ii)Select Migrate


enter image description here




  1. After that select your Assets.xcassets in your project
    enter image description here


  2. Then select Launch image in assets
    i)Then select attribute inspectorenter image description here


  3. finally check your Launch image source. you can see set Launch image.



enter image description here






share|improve this answer
























  • Upvoted for the pictures. But you should clear out the "LaunchScreen" Text from the Launch Screen File text field in your last image.

    – NadtheVlad
    Oct 28 '17 at 18:51











  • Thank's @NadtheVlad. Please clear the "LaunchScreen" text from Launch Screen File and delete LaunchScreen.Storyboard file from Xcode.

    – Karthickkck
    Oct 31 '17 at 12:37











  • Thanks! It was landscape checkbox from Launch Image that was causing problem since my app is only portrait.

    – green0range
    Jan 4 '18 at 19:20



















17














iPhone X needs different launch image sized 1125px x 2436px (375pt x 812pt @3x).



enter image description here



Check human interface guidelines for more details.






share|improve this answer































    12














    I have figured out how to fix (though I still don't understand why this happened only on iPhone X) LaunchScreen storyboard on iPhone X with seeing black top&bottom bars.



    I have LaunchScreen storyboard with one UIImageView.



    UIImageView's top&bottom has to be pinned to SuperView's top&bottom. NOT to SafeArea.






    share|improve this answer
























    • This solved my problem with LauchScreen with Autolayout. But instead of pin to the borders, I centered horizontally and vertically and equal the width/height to SuperView.

      – Yuri Natividade
      Sep 27 '17 at 14:00











    • This only worked after also pinning views in other storyboards to the view top/bottom as opposed to the layout guides. Be sure to check storyboards while in iPhone X mode.

      – Crashalot
      Nov 9 '17 at 10:29











    • why i can't see superview in my storyboard when i go to give that constraint

      – rd_
      Oct 8 '18 at 6:44



















    8














    I fixed it by simply inserting some random text in the Lanch Screen File textfield. I dont even have a Launch Screen File... XCode is so buggy.



    update



    Although this fixes it in simulator (still very weird and unexpected) when uploading a binary to iTunes Connect it will fail due to not finding a LanchScreen file of name "random-name"






    share|improve this answer


























    • Right its working for iphone x . but its not working for any other devices bro.

      – Govaadiyo
      Nov 28 '17 at 6:11













    • Yes yes! this fixes it in xcode. Thanks! That's good enough for testing. Will buy a real iphone X to avoid the xcode issue in future to test on.

      – Phyllis Sutherland
      Aug 31 '18 at 16:22





















    0














    If you already have a 1125px × 2436px launch image but the app is still not using the full screen check to make sure that your image is PNG.






    share|improve this answer































      0














      if you removed LaunchScreen.storyboard; Choose your project, select your project target, General -> App Icons and Launch Images -> Launch Screen File: Select here Main.storyboard instead of LaunchScreen.storyboard






      share|improve this answer































        0














        Just ran into this while trying to update an app I hadn't worked on in a while.



        On Xcode 9.4, I was able to fix this by doing the following:




        1. Add a launch screen by going to File -> New -> File... -> Launch Screen


        enter image description here




        1. Make sure the newly added launch screen storyboard is selected as the launch screen file under project settings.


        enter image description here






        share|improve this answer























          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f46184859%2fseeing-black-bars-at-the-top-and-bottom-of-the-iphone-x-simulator%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          8 Answers
          8






          active

          oldest

          votes








          8 Answers
          8






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          165














          When using launch images (instead of the much easier Launch screen file), you need to provide the properly sized launch image for each device size you wish to support. Once you add the additional launch image, your app should take advantage of the new screen size.



          The new iPhone X requires a launch image sized at 1125px × 2436px which is a 3x image for 375pt × 812pt.



          Of course if you switch over to using a Launch screen file instead of individual launch images, your app will automatically adapt to all device sizes without any additional work.






          share|improve this answer



















          • 2





            can you go into more detail on how to integrate the new iphoneX image into a Launch Screen? Any Image Sets I add to Xcode 9 don't have iphoneX slots, only Launch Image sets.

            – Christian Cerri
            Sep 13 '17 at 6:49






          • 1





            @ChristianCerri Image sets are not tied to devices. They just give you 1x, 2x, and 3x options. I was referring to launch images. Those are the only device specific images. If you have a question about adding different sized images to a Launch screen then please post your own question specific to that issue.

            – rmaddy
            Sep 13 '17 at 6:52











          • just did as you asked: stackoverflow.com/questions/46191522/…

            – Christian Cerri
            Sep 13 '17 at 8:19






          • 7





            How the hell launch images related to blackbar on top and bottom of iPhone X simulator ??!

            – TomSawyer
            Sep 23 '17 at 18:46






          • 1





            See answer from @sabiland if you're still seeing black bars and using a launch screen. Would be great if this answer could be supplemented with the tidbit about how to design the launch screen properly for iPhone X.

            – Crashalot
            Nov 9 '17 at 10:03
















          165














          When using launch images (instead of the much easier Launch screen file), you need to provide the properly sized launch image for each device size you wish to support. Once you add the additional launch image, your app should take advantage of the new screen size.



          The new iPhone X requires a launch image sized at 1125px × 2436px which is a 3x image for 375pt × 812pt.



          Of course if you switch over to using a Launch screen file instead of individual launch images, your app will automatically adapt to all device sizes without any additional work.






          share|improve this answer



















          • 2





            can you go into more detail on how to integrate the new iphoneX image into a Launch Screen? Any Image Sets I add to Xcode 9 don't have iphoneX slots, only Launch Image sets.

            – Christian Cerri
            Sep 13 '17 at 6:49






          • 1





            @ChristianCerri Image sets are not tied to devices. They just give you 1x, 2x, and 3x options. I was referring to launch images. Those are the only device specific images. If you have a question about adding different sized images to a Launch screen then please post your own question specific to that issue.

            – rmaddy
            Sep 13 '17 at 6:52











          • just did as you asked: stackoverflow.com/questions/46191522/…

            – Christian Cerri
            Sep 13 '17 at 8:19






          • 7





            How the hell launch images related to blackbar on top and bottom of iPhone X simulator ??!

            – TomSawyer
            Sep 23 '17 at 18:46






          • 1





            See answer from @sabiland if you're still seeing black bars and using a launch screen. Would be great if this answer could be supplemented with the tidbit about how to design the launch screen properly for iPhone X.

            – Crashalot
            Nov 9 '17 at 10:03














          165












          165








          165







          When using launch images (instead of the much easier Launch screen file), you need to provide the properly sized launch image for each device size you wish to support. Once you add the additional launch image, your app should take advantage of the new screen size.



          The new iPhone X requires a launch image sized at 1125px × 2436px which is a 3x image for 375pt × 812pt.



          Of course if you switch over to using a Launch screen file instead of individual launch images, your app will automatically adapt to all device sizes without any additional work.






          share|improve this answer













          When using launch images (instead of the much easier Launch screen file), you need to provide the properly sized launch image for each device size you wish to support. Once you add the additional launch image, your app should take advantage of the new screen size.



          The new iPhone X requires a launch image sized at 1125px × 2436px which is a 3x image for 375pt × 812pt.



          Of course if you switch over to using a Launch screen file instead of individual launch images, your app will automatically adapt to all device sizes without any additional work.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Sep 12 '17 at 20:41









          rmaddyrmaddy

          241k27315379




          241k27315379








          • 2





            can you go into more detail on how to integrate the new iphoneX image into a Launch Screen? Any Image Sets I add to Xcode 9 don't have iphoneX slots, only Launch Image sets.

            – Christian Cerri
            Sep 13 '17 at 6:49






          • 1





            @ChristianCerri Image sets are not tied to devices. They just give you 1x, 2x, and 3x options. I was referring to launch images. Those are the only device specific images. If you have a question about adding different sized images to a Launch screen then please post your own question specific to that issue.

            – rmaddy
            Sep 13 '17 at 6:52











          • just did as you asked: stackoverflow.com/questions/46191522/…

            – Christian Cerri
            Sep 13 '17 at 8:19






          • 7





            How the hell launch images related to blackbar on top and bottom of iPhone X simulator ??!

            – TomSawyer
            Sep 23 '17 at 18:46






          • 1





            See answer from @sabiland if you're still seeing black bars and using a launch screen. Would be great if this answer could be supplemented with the tidbit about how to design the launch screen properly for iPhone X.

            – Crashalot
            Nov 9 '17 at 10:03














          • 2





            can you go into more detail on how to integrate the new iphoneX image into a Launch Screen? Any Image Sets I add to Xcode 9 don't have iphoneX slots, only Launch Image sets.

            – Christian Cerri
            Sep 13 '17 at 6:49






          • 1





            @ChristianCerri Image sets are not tied to devices. They just give you 1x, 2x, and 3x options. I was referring to launch images. Those are the only device specific images. If you have a question about adding different sized images to a Launch screen then please post your own question specific to that issue.

            – rmaddy
            Sep 13 '17 at 6:52











          • just did as you asked: stackoverflow.com/questions/46191522/…

            – Christian Cerri
            Sep 13 '17 at 8:19






          • 7





            How the hell launch images related to blackbar on top and bottom of iPhone X simulator ??!

            – TomSawyer
            Sep 23 '17 at 18:46






          • 1





            See answer from @sabiland if you're still seeing black bars and using a launch screen. Would be great if this answer could be supplemented with the tidbit about how to design the launch screen properly for iPhone X.

            – Crashalot
            Nov 9 '17 at 10:03








          2




          2





          can you go into more detail on how to integrate the new iphoneX image into a Launch Screen? Any Image Sets I add to Xcode 9 don't have iphoneX slots, only Launch Image sets.

          – Christian Cerri
          Sep 13 '17 at 6:49





          can you go into more detail on how to integrate the new iphoneX image into a Launch Screen? Any Image Sets I add to Xcode 9 don't have iphoneX slots, only Launch Image sets.

          – Christian Cerri
          Sep 13 '17 at 6:49




          1




          1





          @ChristianCerri Image sets are not tied to devices. They just give you 1x, 2x, and 3x options. I was referring to launch images. Those are the only device specific images. If you have a question about adding different sized images to a Launch screen then please post your own question specific to that issue.

          – rmaddy
          Sep 13 '17 at 6:52





          @ChristianCerri Image sets are not tied to devices. They just give you 1x, 2x, and 3x options. I was referring to launch images. Those are the only device specific images. If you have a question about adding different sized images to a Launch screen then please post your own question specific to that issue.

          – rmaddy
          Sep 13 '17 at 6:52













          just did as you asked: stackoverflow.com/questions/46191522/…

          – Christian Cerri
          Sep 13 '17 at 8:19





          just did as you asked: stackoverflow.com/questions/46191522/…

          – Christian Cerri
          Sep 13 '17 at 8:19




          7




          7





          How the hell launch images related to blackbar on top and bottom of iPhone X simulator ??!

          – TomSawyer
          Sep 23 '17 at 18:46





          How the hell launch images related to blackbar on top and bottom of iPhone X simulator ??!

          – TomSawyer
          Sep 23 '17 at 18:46




          1




          1





          See answer from @sabiland if you're still seeing black bars and using a launch screen. Would be great if this answer could be supplemented with the tidbit about how to design the launch screen properly for iPhone X.

          – Crashalot
          Nov 9 '17 at 10:03





          See answer from @sabiland if you're still seeing black bars and using a launch screen. Would be great if this answer could be supplemented with the tidbit about how to design the launch screen properly for iPhone X.

          – Crashalot
          Nov 9 '17 at 10:03













          28














          I have figured out this issues in iPhone X. Launch image size (1125*2436px)
          Please flow this below steps.
          1.i)Choose your project name in Xcode.
          ii)Select your project target
          iii)Then select Launch images source
          enter image description here




          1. You can get Migrate popup
            i) Choose Assets
            ii)Select Migrate


          enter image description here




          1. After that select your Assets.xcassets in your project
            enter image description here


          2. Then select Launch image in assets
            i)Then select attribute inspectorenter image description here


          3. finally check your Launch image source. you can see set Launch image.



          enter image description here






          share|improve this answer
























          • Upvoted for the pictures. But you should clear out the "LaunchScreen" Text from the Launch Screen File text field in your last image.

            – NadtheVlad
            Oct 28 '17 at 18:51











          • Thank's @NadtheVlad. Please clear the "LaunchScreen" text from Launch Screen File and delete LaunchScreen.Storyboard file from Xcode.

            – Karthickkck
            Oct 31 '17 at 12:37











          • Thanks! It was landscape checkbox from Launch Image that was causing problem since my app is only portrait.

            – green0range
            Jan 4 '18 at 19:20
















          28














          I have figured out this issues in iPhone X. Launch image size (1125*2436px)
          Please flow this below steps.
          1.i)Choose your project name in Xcode.
          ii)Select your project target
          iii)Then select Launch images source
          enter image description here




          1. You can get Migrate popup
            i) Choose Assets
            ii)Select Migrate


          enter image description here




          1. After that select your Assets.xcassets in your project
            enter image description here


          2. Then select Launch image in assets
            i)Then select attribute inspectorenter image description here


          3. finally check your Launch image source. you can see set Launch image.



          enter image description here






          share|improve this answer
























          • Upvoted for the pictures. But you should clear out the "LaunchScreen" Text from the Launch Screen File text field in your last image.

            – NadtheVlad
            Oct 28 '17 at 18:51











          • Thank's @NadtheVlad. Please clear the "LaunchScreen" text from Launch Screen File and delete LaunchScreen.Storyboard file from Xcode.

            – Karthickkck
            Oct 31 '17 at 12:37











          • Thanks! It was landscape checkbox from Launch Image that was causing problem since my app is only portrait.

            – green0range
            Jan 4 '18 at 19:20














          28












          28








          28







          I have figured out this issues in iPhone X. Launch image size (1125*2436px)
          Please flow this below steps.
          1.i)Choose your project name in Xcode.
          ii)Select your project target
          iii)Then select Launch images source
          enter image description here




          1. You can get Migrate popup
            i) Choose Assets
            ii)Select Migrate


          enter image description here




          1. After that select your Assets.xcassets in your project
            enter image description here


          2. Then select Launch image in assets
            i)Then select attribute inspectorenter image description here


          3. finally check your Launch image source. you can see set Launch image.



          enter image description here






          share|improve this answer













          I have figured out this issues in iPhone X. Launch image size (1125*2436px)
          Please flow this below steps.
          1.i)Choose your project name in Xcode.
          ii)Select your project target
          iii)Then select Launch images source
          enter image description here




          1. You can get Migrate popup
            i) Choose Assets
            ii)Select Migrate


          enter image description here




          1. After that select your Assets.xcassets in your project
            enter image description here


          2. Then select Launch image in assets
            i)Then select attribute inspectorenter image description here


          3. finally check your Launch image source. you can see set Launch image.



          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Oct 25 '17 at 6:47









          KarthickkckKarthickkck

          1,0401211




          1,0401211













          • Upvoted for the pictures. But you should clear out the "LaunchScreen" Text from the Launch Screen File text field in your last image.

            – NadtheVlad
            Oct 28 '17 at 18:51











          • Thank's @NadtheVlad. Please clear the "LaunchScreen" text from Launch Screen File and delete LaunchScreen.Storyboard file from Xcode.

            – Karthickkck
            Oct 31 '17 at 12:37











          • Thanks! It was landscape checkbox from Launch Image that was causing problem since my app is only portrait.

            – green0range
            Jan 4 '18 at 19:20



















          • Upvoted for the pictures. But you should clear out the "LaunchScreen" Text from the Launch Screen File text field in your last image.

            – NadtheVlad
            Oct 28 '17 at 18:51











          • Thank's @NadtheVlad. Please clear the "LaunchScreen" text from Launch Screen File and delete LaunchScreen.Storyboard file from Xcode.

            – Karthickkck
            Oct 31 '17 at 12:37











          • Thanks! It was landscape checkbox from Launch Image that was causing problem since my app is only portrait.

            – green0range
            Jan 4 '18 at 19:20

















          Upvoted for the pictures. But you should clear out the "LaunchScreen" Text from the Launch Screen File text field in your last image.

          – NadtheVlad
          Oct 28 '17 at 18:51





          Upvoted for the pictures. But you should clear out the "LaunchScreen" Text from the Launch Screen File text field in your last image.

          – NadtheVlad
          Oct 28 '17 at 18:51













          Thank's @NadtheVlad. Please clear the "LaunchScreen" text from Launch Screen File and delete LaunchScreen.Storyboard file from Xcode.

          – Karthickkck
          Oct 31 '17 at 12:37





          Thank's @NadtheVlad. Please clear the "LaunchScreen" text from Launch Screen File and delete LaunchScreen.Storyboard file from Xcode.

          – Karthickkck
          Oct 31 '17 at 12:37













          Thanks! It was landscape checkbox from Launch Image that was causing problem since my app is only portrait.

          – green0range
          Jan 4 '18 at 19:20





          Thanks! It was landscape checkbox from Launch Image that was causing problem since my app is only portrait.

          – green0range
          Jan 4 '18 at 19:20











          17














          iPhone X needs different launch image sized 1125px x 2436px (375pt x 812pt @3x).



          enter image description here



          Check human interface guidelines for more details.






          share|improve this answer




























            17














            iPhone X needs different launch image sized 1125px x 2436px (375pt x 812pt @3x).



            enter image description here



            Check human interface guidelines for more details.






            share|improve this answer


























              17












              17








              17







              iPhone X needs different launch image sized 1125px x 2436px (375pt x 812pt @3x).



              enter image description here



              Check human interface guidelines for more details.






              share|improve this answer













              iPhone X needs different launch image sized 1125px x 2436px (375pt x 812pt @3x).



              enter image description here



              Check human interface guidelines for more details.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Sep 15 '17 at 4:30









              Lal KrishnaLal Krishna

              6,09012745




              6,09012745























                  12














                  I have figured out how to fix (though I still don't understand why this happened only on iPhone X) LaunchScreen storyboard on iPhone X with seeing black top&bottom bars.



                  I have LaunchScreen storyboard with one UIImageView.



                  UIImageView's top&bottom has to be pinned to SuperView's top&bottom. NOT to SafeArea.






                  share|improve this answer
























                  • This solved my problem with LauchScreen with Autolayout. But instead of pin to the borders, I centered horizontally and vertically and equal the width/height to SuperView.

                    – Yuri Natividade
                    Sep 27 '17 at 14:00











                  • This only worked after also pinning views in other storyboards to the view top/bottom as opposed to the layout guides. Be sure to check storyboards while in iPhone X mode.

                    – Crashalot
                    Nov 9 '17 at 10:29











                  • why i can't see superview in my storyboard when i go to give that constraint

                    – rd_
                    Oct 8 '18 at 6:44
















                  12














                  I have figured out how to fix (though I still don't understand why this happened only on iPhone X) LaunchScreen storyboard on iPhone X with seeing black top&bottom bars.



                  I have LaunchScreen storyboard with one UIImageView.



                  UIImageView's top&bottom has to be pinned to SuperView's top&bottom. NOT to SafeArea.






                  share|improve this answer
























                  • This solved my problem with LauchScreen with Autolayout. But instead of pin to the borders, I centered horizontally and vertically and equal the width/height to SuperView.

                    – Yuri Natividade
                    Sep 27 '17 at 14:00











                  • This only worked after also pinning views in other storyboards to the view top/bottom as opposed to the layout guides. Be sure to check storyboards while in iPhone X mode.

                    – Crashalot
                    Nov 9 '17 at 10:29











                  • why i can't see superview in my storyboard when i go to give that constraint

                    – rd_
                    Oct 8 '18 at 6:44














                  12












                  12








                  12







                  I have figured out how to fix (though I still don't understand why this happened only on iPhone X) LaunchScreen storyboard on iPhone X with seeing black top&bottom bars.



                  I have LaunchScreen storyboard with one UIImageView.



                  UIImageView's top&bottom has to be pinned to SuperView's top&bottom. NOT to SafeArea.






                  share|improve this answer













                  I have figured out how to fix (though I still don't understand why this happened only on iPhone X) LaunchScreen storyboard on iPhone X with seeing black top&bottom bars.



                  I have LaunchScreen storyboard with one UIImageView.



                  UIImageView's top&bottom has to be pinned to SuperView's top&bottom. NOT to SafeArea.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Sep 23 '17 at 6:44









                  sabilandsabiland

                  9511818




                  9511818













                  • This solved my problem with LauchScreen with Autolayout. But instead of pin to the borders, I centered horizontally and vertically and equal the width/height to SuperView.

                    – Yuri Natividade
                    Sep 27 '17 at 14:00











                  • This only worked after also pinning views in other storyboards to the view top/bottom as opposed to the layout guides. Be sure to check storyboards while in iPhone X mode.

                    – Crashalot
                    Nov 9 '17 at 10:29











                  • why i can't see superview in my storyboard when i go to give that constraint

                    – rd_
                    Oct 8 '18 at 6:44



















                  • This solved my problem with LauchScreen with Autolayout. But instead of pin to the borders, I centered horizontally and vertically and equal the width/height to SuperView.

                    – Yuri Natividade
                    Sep 27 '17 at 14:00











                  • This only worked after also pinning views in other storyboards to the view top/bottom as opposed to the layout guides. Be sure to check storyboards while in iPhone X mode.

                    – Crashalot
                    Nov 9 '17 at 10:29











                  • why i can't see superview in my storyboard when i go to give that constraint

                    – rd_
                    Oct 8 '18 at 6:44

















                  This solved my problem with LauchScreen with Autolayout. But instead of pin to the borders, I centered horizontally and vertically and equal the width/height to SuperView.

                  – Yuri Natividade
                  Sep 27 '17 at 14:00





                  This solved my problem with LauchScreen with Autolayout. But instead of pin to the borders, I centered horizontally and vertically and equal the width/height to SuperView.

                  – Yuri Natividade
                  Sep 27 '17 at 14:00













                  This only worked after also pinning views in other storyboards to the view top/bottom as opposed to the layout guides. Be sure to check storyboards while in iPhone X mode.

                  – Crashalot
                  Nov 9 '17 at 10:29





                  This only worked after also pinning views in other storyboards to the view top/bottom as opposed to the layout guides. Be sure to check storyboards while in iPhone X mode.

                  – Crashalot
                  Nov 9 '17 at 10:29













                  why i can't see superview in my storyboard when i go to give that constraint

                  – rd_
                  Oct 8 '18 at 6:44





                  why i can't see superview in my storyboard when i go to give that constraint

                  – rd_
                  Oct 8 '18 at 6:44











                  8














                  I fixed it by simply inserting some random text in the Lanch Screen File textfield. I dont even have a Launch Screen File... XCode is so buggy.



                  update



                  Although this fixes it in simulator (still very weird and unexpected) when uploading a binary to iTunes Connect it will fail due to not finding a LanchScreen file of name "random-name"






                  share|improve this answer


























                  • Right its working for iphone x . but its not working for any other devices bro.

                    – Govaadiyo
                    Nov 28 '17 at 6:11













                  • Yes yes! this fixes it in xcode. Thanks! That's good enough for testing. Will buy a real iphone X to avoid the xcode issue in future to test on.

                    – Phyllis Sutherland
                    Aug 31 '18 at 16:22


















                  8














                  I fixed it by simply inserting some random text in the Lanch Screen File textfield. I dont even have a Launch Screen File... XCode is so buggy.



                  update



                  Although this fixes it in simulator (still very weird and unexpected) when uploading a binary to iTunes Connect it will fail due to not finding a LanchScreen file of name "random-name"






                  share|improve this answer


























                  • Right its working for iphone x . but its not working for any other devices bro.

                    – Govaadiyo
                    Nov 28 '17 at 6:11













                  • Yes yes! this fixes it in xcode. Thanks! That's good enough for testing. Will buy a real iphone X to avoid the xcode issue in future to test on.

                    – Phyllis Sutherland
                    Aug 31 '18 at 16:22
















                  8












                  8








                  8







                  I fixed it by simply inserting some random text in the Lanch Screen File textfield. I dont even have a Launch Screen File... XCode is so buggy.



                  update



                  Although this fixes it in simulator (still very weird and unexpected) when uploading a binary to iTunes Connect it will fail due to not finding a LanchScreen file of name "random-name"






                  share|improve this answer















                  I fixed it by simply inserting some random text in the Lanch Screen File textfield. I dont even have a Launch Screen File... XCode is so buggy.



                  update



                  Although this fixes it in simulator (still very weird and unexpected) when uploading a binary to iTunes Connect it will fail due to not finding a LanchScreen file of name "random-name"







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Nov 30 '17 at 1:53

























                  answered Nov 4 '17 at 11:43









                  ArbiturArbitur

                  21.5k1970103




                  21.5k1970103













                  • Right its working for iphone x . but its not working for any other devices bro.

                    – Govaadiyo
                    Nov 28 '17 at 6:11













                  • Yes yes! this fixes it in xcode. Thanks! That's good enough for testing. Will buy a real iphone X to avoid the xcode issue in future to test on.

                    – Phyllis Sutherland
                    Aug 31 '18 at 16:22





















                  • Right its working for iphone x . but its not working for any other devices bro.

                    – Govaadiyo
                    Nov 28 '17 at 6:11













                  • Yes yes! this fixes it in xcode. Thanks! That's good enough for testing. Will buy a real iphone X to avoid the xcode issue in future to test on.

                    – Phyllis Sutherland
                    Aug 31 '18 at 16:22



















                  Right its working for iphone x . but its not working for any other devices bro.

                  – Govaadiyo
                  Nov 28 '17 at 6:11







                  Right its working for iphone x . but its not working for any other devices bro.

                  – Govaadiyo
                  Nov 28 '17 at 6:11















                  Yes yes! this fixes it in xcode. Thanks! That's good enough for testing. Will buy a real iphone X to avoid the xcode issue in future to test on.

                  – Phyllis Sutherland
                  Aug 31 '18 at 16:22







                  Yes yes! this fixes it in xcode. Thanks! That's good enough for testing. Will buy a real iphone X to avoid the xcode issue in future to test on.

                  – Phyllis Sutherland
                  Aug 31 '18 at 16:22













                  0














                  If you already have a 1125px × 2436px launch image but the app is still not using the full screen check to make sure that your image is PNG.






                  share|improve this answer




























                    0














                    If you already have a 1125px × 2436px launch image but the app is still not using the full screen check to make sure that your image is PNG.






                    share|improve this answer


























                      0












                      0








                      0







                      If you already have a 1125px × 2436px launch image but the app is still not using the full screen check to make sure that your image is PNG.






                      share|improve this answer













                      If you already have a 1125px × 2436px launch image but the app is still not using the full screen check to make sure that your image is PNG.







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Mar 28 '18 at 15:16









                      BlagoBlago

                      3,99612623




                      3,99612623























                          0














                          if you removed LaunchScreen.storyboard; Choose your project, select your project target, General -> App Icons and Launch Images -> Launch Screen File: Select here Main.storyboard instead of LaunchScreen.storyboard






                          share|improve this answer




























                            0














                            if you removed LaunchScreen.storyboard; Choose your project, select your project target, General -> App Icons and Launch Images -> Launch Screen File: Select here Main.storyboard instead of LaunchScreen.storyboard






                            share|improve this answer


























                              0












                              0








                              0







                              if you removed LaunchScreen.storyboard; Choose your project, select your project target, General -> App Icons and Launch Images -> Launch Screen File: Select here Main.storyboard instead of LaunchScreen.storyboard






                              share|improve this answer













                              if you removed LaunchScreen.storyboard; Choose your project, select your project target, General -> App Icons and Launch Images -> Launch Screen File: Select here Main.storyboard instead of LaunchScreen.storyboard







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Jun 25 '18 at 19:22









                              Bedri KeskinBedri Keskin

                              1




                              1























                                  0














                                  Just ran into this while trying to update an app I hadn't worked on in a while.



                                  On Xcode 9.4, I was able to fix this by doing the following:




                                  1. Add a launch screen by going to File -> New -> File... -> Launch Screen


                                  enter image description here




                                  1. Make sure the newly added launch screen storyboard is selected as the launch screen file under project settings.


                                  enter image description here






                                  share|improve this answer




























                                    0














                                    Just ran into this while trying to update an app I hadn't worked on in a while.



                                    On Xcode 9.4, I was able to fix this by doing the following:




                                    1. Add a launch screen by going to File -> New -> File... -> Launch Screen


                                    enter image description here




                                    1. Make sure the newly added launch screen storyboard is selected as the launch screen file under project settings.


                                    enter image description here






                                    share|improve this answer


























                                      0












                                      0








                                      0







                                      Just ran into this while trying to update an app I hadn't worked on in a while.



                                      On Xcode 9.4, I was able to fix this by doing the following:




                                      1. Add a launch screen by going to File -> New -> File... -> Launch Screen


                                      enter image description here




                                      1. Make sure the newly added launch screen storyboard is selected as the launch screen file under project settings.


                                      enter image description here






                                      share|improve this answer













                                      Just ran into this while trying to update an app I hadn't worked on in a while.



                                      On Xcode 9.4, I was able to fix this by doing the following:




                                      1. Add a launch screen by going to File -> New -> File... -> Launch Screen


                                      enter image description here




                                      1. Make sure the newly added launch screen storyboard is selected as the launch screen file under project settings.


                                      enter image description here







                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Dec 23 '18 at 6:26









                                      MyxticMyxtic

                                      4,65243765




                                      4,65243765






























                                          draft saved

                                          draft discarded




















































                                          Thanks for contributing an answer to Stack Overflow!


                                          • Please be sure to answer the question. Provide details and share your research!

                                          But avoid



                                          • Asking for help, clarification, or responding to other answers.

                                          • Making statements based on opinion; back them up with references or personal experience.


                                          To learn more, see our tips on writing great answers.




                                          draft saved


                                          draft discarded














                                          StackExchange.ready(
                                          function () {
                                          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f46184859%2fseeing-black-bars-at-the-top-and-bottom-of-the-iphone-x-simulator%23new-answer', 'question_page');
                                          }
                                          );

                                          Post as a guest















                                          Required, but never shown





















































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown

































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown







                                          7AlfT4fhc,xHa Srs4s9s4J5dEr,NS,lIaf,RzpG7HqvdI 3IxM P w2N2BTd ESh0VNS8gPiDrJsc gm5 tW 5tnomF8y
                                          g0XlOdF3 chIg2VHq,W KrEquNJw,cRLrWC7fqkSV2gIC,qh iQep4SV Ua5zhKgSsuL0QU Eit,2yZb,cdLv bgtR7bE,aIs042dU uxhh

                                          Popular posts from this blog

                                          Monofisismo

                                          Angular Downloading a file using contenturl with Basic Authentication

                                          Olmecas