Skip to content

iOS IPAD always landscape-secondary when rotate even use landscape #89

Description

@huydv92

Bug Report

Problem

What is expected to happen?

can rotate landscape-primary and landscape-secondary by user on IPAD

What does actually happen?

I used "portrait" rotate -> landscape but IPAD always rotate to landscape-secondary. Do not follow by user on IPAD. It seem sensor did not detect which orientation by user

Information

Command or Code

screen.orientation.lock("portrait")
clicked button go other screen
screen.orientation.lock("landscape")

Environment, Platform, Device

on IPAD

Version information

Cordova Plugins
Android platform
IOS platform

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions