Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ios orientations support #64

Merged
merged 1 commit into from
Aug 21, 2017
Merged

add ios orientations support #64

merged 1 commit into from
Aug 21, 2017

Conversation

aizigao
Copy link
Contributor

@aizigao aizigao commented Aug 18, 2017

On iOS, the modal is still restricted by what's specified in your app's Info.plist's UISupportedInterfaceOrientations field. react native doc modal, so need add flowing code to support supportedOrientations,

<Modal
        visible={true}
        supportedOrientations={['portrait', 'landscape']}  // 使ios上支持横屏显示
>
</Modal>

image

see issue

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling f10a2ab on aizigao:master into ** on react-component:master**.

@aizigao
Copy link
Contributor Author

aizigao commented Aug 19, 2017

native ios 上现在不能横屏显示弹窗

@silentcloud
Copy link
Member

@paranoidjk 发个版本

@silentcloud
Copy link
Member

@paranoidjk
Copy link
Member

paranoidjk commented Aug 21, 2017

@silentcloud + silentcloud (rc-dialog) done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants