slackhq / SlackTextViewController

⛔️**DEPRECATED** ⛔️ A drop-in UIViewController subclass with a growing text input view and other useful messaging features
https://slack.com/
MIT License
8.32k stars 1.08k forks source link

Can't disable rotation in ViewController #322

Closed niebloomj closed 8 years ago

niebloomj commented 8 years ago

I want to lock the application in portrait mode, but I can't do it for the view controller that implements that slacktextviewcontroller. Everyone in my application is locked into portrait, but nothing I do disables it in this view controller. What other information should I provide?

dzenbot commented 8 years ago

Are you override - (UIInterfaceOrientationMask)supportedInterfaceOrientations in your SLKTextViewController subclass, to return only portrait?

niebloomj commented 8 years ago

For some reason, now that worked. I don't know why it wasn't working before. Thank you!!

dzenbot commented 8 years ago

:+1: