Skip to content

[IOS] 5.4" inch screen support #62437

Closed
Closed

Description

@edeuss

Looks like Apple will be launching a 5.4" inch iPhone this year.

In iOS 14 Beta 3+. In Display & Brightness there is a Display Zoom menu where you can chose a zoomed in mode. Which scales up the screen (see attached images). It looks like flutter assumes its running on a iPhone 8 or lower.

IMG_0481

App running Flutter 1.20.0.7.2-Pre:
IMG_0718

IMG_0719

Native Apple App:

IMG_0482

IMG_0483

[✓] Flutter (Channel stable, 1.20.2, on macOS 11.0 20A5354i, locale en-US)
    • Flutter version 1.20.2 at /Users/elias/flutter
    • Framework revision bbfbf1770c (12 days ago), 2020-08-13 08:33:09 -0700
    • Engine revision 9d5b21729f
    • Dart version 2.9.1

 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/elias/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.1

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.48.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.13.2

Activity

  1. changed the title [-][IOS] 5.4" inch screen support.[/-] [+][IOS] 5.4" inch screen support[/+] on Jul 28, 2020
  2. TahaTesser commented on Jul 29, 2020

    @TahaTesser
    Contributor

    Hi @EliasDeuss
    I can see that zoom option in iOS 13.6 too, not sure it's worth creating this issue before device is even is announced/released
    Do you have any issues when flutter in zoomed mode or is this just feature request for 5.4in support?

    if you've an issue with zoom, Can you please provide your flutter doctor -v your flutter run --verbose and a complete reproducible minimal code sample
    Thank you

  3. added
    in triagePresently being triaged by the triage team
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Jul 29, 2020
  4. edeuss commented on Jul 29, 2020

    @edeuss
    Author

    Hi @EliasDeuss

    I can see that zoom option in iOS 13.6 too, not sure it's worth creating this issue before device is even is announced/released

    Do you have any issues when flutter in zoomed mode or is this just feature request for 5.4in support?

    if you've an issue with zoom, Can you please provide your flutter doctor -v your flutter run --verbose and a complete reproducible minimal code sample

    Thank you

    @TahaTesser Well it’s just the flutter app doesn’t recognize that it’s zoomed in so it doesn’t use the top or bottom of the screen. So you have empty space (compared to apples default apps). You can try it with your own flutter app don’t need to give minimal code sample.

  5. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Jul 29, 2020
  6. changed the title [-][IOS] 5.4" inch screen support[/-] [+][IOS] Zoomed in mode/5.4" inch screen support[/+] on Jul 29, 2020
  7. TahaTesser commented on Jul 29, 2020

    @TahaTesser
    Contributor

    Hi @EliasDeuss
    I can there is difference when using zoom mode in Flutter

    Left (normal) & right (zoomed)

    Screenshot 2020-07-29 at 5 19 01 PM

    Do you see different behaviour?
    Can you please provide your flutter doctor -v your flutter run --verbose and a complete reproducible minimal code sample
    Thank you

  8. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    and removed on Jul 29, 2020
  9. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Aug 25, 2020
  10. TahaTesser commented on Aug 25, 2020

    @TahaTesser
    Contributor

    Without additional information we are unfortunately not sure how to resolve this issue.
    We are therefore reluctantly going to close this bug for now.
    Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
    Thanks for your contribution.

  11. edeuss commented on Aug 25, 2020

    @edeuss
    Author

    @TahaTesser I did more research and it looks like it was added in iOS 14 Beta 3. So if you have your phone on zoomed mode in that beta or above it will behave like that.

  12. 5 remaining items

  13. edeuss commented on Aug 26, 2020

    @edeuss
    Author

    @jmagman I also just updated the screenshots to show light mode. You can see the issue a lot better with the black bars.

  14. jmagman commented on Aug 26, 2020

    @jmagman
    Member

    I tried the zoom on the gallery app on an iPad Pro and it looks pretty good. Flutter handles all kinds of screen sizes responsively (particularly on Android), so I wouldn't expect a 5.4" screen to cause any issues.
    Standard:
    Screen Shot 2020-08-25 at 6 45 42 PM
    (I don't know why the screenshot is cropped, but it looks good on the device.)
    Zoomed:
    Screen Shot 2020-08-25 at 6 44 30 PM

    Could you give us a sample app that reproduces this?

  15. edeuss commented on Aug 26, 2020

    @edeuss
    Author

    @jmagman Here is the flutter gallery app.

    [✓] Flutter (Channel stable, 1.20.2, on macOS 11.0 20A5354i, locale en-US)
        • Flutter version 1.20.2 at /Users/elias/flutter
        • Framework revision bbfbf1770c (12 days ago), 2020-08-13 08:33:09 -0700
        • Engine revision 9d5b21729f
        • Dart version 2.9.1
    

    IMG_0722
    IMG_0723

  16. jmagman commented on Sep 30, 2020

    @jmagman
    Member

    @EliasDeuss That looks pretty good to me. We can hold this open until someone can test with a real 5.4" device when it ships. I suspect it will scale fine based on all the other phone screen sizes Flutter supports.

  17. changed the title [-][IOS] Zoomed in mode/5.4" inch screen support[/-] [+][IOS] 5.4" inch screen support[/+] on Oct 13, 2020
  18. jmagman commented on Oct 23, 2020

    @jmagman
    Member

    5.4" iPhone 12 mini simulator gallery looks good.
    simulator_screenshot_E8B1BDA1-EDA9-479A-957F-8D9311DE7BE4

    Closing. If you see bugs related to the new size, please file new issues and completely fill out the template.

  19. vanlooverenkoen commented on Nov 24, 2020

    @vanlooverenkoen
    Contributor

    Is there a way to disable this? One of our clients wants this zoomed behaviour disabled for their app.

  20. jmagman commented on Nov 24, 2020

    @jmagman
    Member

    @vanlooverenkoen Please file a new issue and completely fill out the template so the frameworks team can take a look.

  21. github-actions commented on Aug 9, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  22. locked as resolved and limited conversation to collaborators on Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)a: fidelityMatching the OEM platforms bettera: layoutSystemChrome and Framework's Layout Issuesframeworkflutter/packages/flutter repository. See also f: labels.platform-iosiOS applications specifically

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions