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

REFacebookActivity weird orientation issue #51

Open
Thermometer91 opened this issue Jul 25, 2013 · 2 comments
Open

REFacebookActivity weird orientation issue #51

Thermometer91 opened this issue Jul 25, 2013 · 2 comments

Comments

@Thermometer91
Copy link

I have a strange orientation bug that only occurs on the REFacebookActivity. This problem doesn't occur in the other activities. I have tried to find the bug in the DEFacebookComposeViewController, but I couldn't find what was going wrong.

I'll explain my setup:

I have a ViewController that is embedded in a custom UITabBarController in a custom UINavigationController, in which I force the orientation to portrait.

In this ViewController, I bring up another ViewController modally via a Storyboard Segue where I force it to be LandscapeRight or LandscapeLeft orientation. In this modal ViewController I bring up the REActivityViewController in landscape via

[activityViewController presentFromViewController:self];

Now, when I use the activities (Custom, twitter, mail, safari, chrome, cameraroll, copy), everything works as expected. But when I use the facebook activity, and I post something, or just cancel it, then close my modal ViewController, the (forced) portrait orientation of my first ViewController is ignored, and it gets displayed in landscape.

Any ideas how this might come to be?

@Thermometer91
Copy link
Author

Anyone? With the latest commit, the problem still persists.

@skull-squadron
Copy link
Contributor

Got a minimal example project?

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

No branches or pull requests

2 participants