I am writing a script for my iPhone using the ui module. I want the view to display in only the portrait orientation and not auto-rotate. I have been using the script in the "Getting Started" documentation to figure out how to do that. From the description of the present() method, I thought changing the last line in that script from "view.present('screen')" to either "view.present('portrait')" or "view.present('full_screen', 'portrait')" would work. Neither did the trick. Any suggestions on how to do this would be appreciated.
Jim