Navigation

    Monaca & Onsen UI
    • Register
    • Login
    • Search
    • Tags
    • Users
    • Blog
    • Playground
    1. Home
    2. anabelsears
    3. Posts
    A
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by anabelsears

    • RE: iPhone portrait mode detecting the notch.

      @emccorson said in iPhone portrait mode detecting the notch.:

      How about ons.platform.isIPhoneX?

      https://onsen.io/v2/api/vue/$ons.platform.html#method-isIPhoneX mapquest driving directions

      Contrary to the naming, this will return true for iPhone X, XS, XS Max, XR, 11, 11 Pro, 11 Pro Max, 12 Mini, 12, 12 Pro or 12 Pro Max.

      Hi @emccorson , Are you able tell me how you did this please?

      posted in Developer Corner
      A
      anabelsears