Beta 3 - Native Objects Do Not Rotate for Orientation (App Show Stopper)

I realize there are several posts floating around and probably some bug entries, but I’m unsure what is opened or closed and wanted to make sure this was put in as a priority item for you guys.

Recent apps are now being rejected because the native objects do not rotate to the correct orientation. These objects would include, but are not limited to:

native.showAlert
native.showWebPopup
native.newTextField
native.newTextBox
the status bar
the keyboard

Likely the activity indicator as well.

This specific problem is now keeping Corona apps out of the app store and while some of us can handicap our apps and remove some functionality, I imagine there are plenty that cannot. At the same time, I imagine there are apps that have and will sneak through, but it’s an issue that should be addressed ASAP.

Thanks,
Scott

P.S. Sorry if I’m coming across strong here, but we are very close to submitting and really would like to have this fixed before we do… not just because of the possibility of being rejected but because it simply looks bad, especially on an iPad.
[import]uid: 5659 topic_id: 1008 reply_id: 301008[/import]

I was surprised and disappointed that this orientation issue wasn’t fixed with Beta 3. I would like to create some iPad apps and this is a show stopper.

This was recorded as bug #188.
http://developer.anscamobile.com/forum/2010/05/12/ipad-app-rejected-due-orientation-native-widgets-web-popup-keyboard-alerts

Tom [import]uid: 6119 topic_id: 1008 reply_id: 2444[/import]

Yes, bug #188 is at the top of our list for fixing. Ideally, we wanted to get this into Beta 3, but we also had to balance the need to share fixes for other bugs with the rest of the community.

Does your app need to support multiple orientations, or just a single orientation at launch? The latter (e.g. native UI that honors a landscape-only app) is much easier to address in the short-term.

For native textfields and textboxes, you can actually set the rotation property directly on them. One thing that wasn’t clear in the docs was what we meant when we said native display objects do *not* obey the display hierarchy. This means that they do *not* honor the drawing order (they always draw on top) and they also do *not* honor properties of their parents, e.g. position, rotation, alpha, visibility, etc.
[import]uid: 26 topic_id: 1008 reply_id: 2457[/import]

What about the keyboard – does it rotate correctly for LandscapeLeft and LandscapeRight orientations?

Tom [import]uid: 6119 topic_id: 1008 reply_id: 2478[/import]

@walter: Is it acceptable for an iPad app to be restricted to one orientation? I thought they were being sticky about that? Or was it just that the launch images need to work for all orientations, but the app may be specific to one?

It’d be great if it’s acceptable to use only one orientation for the iPad, that would be an acceptable workaround for us right now.

Scott [import]uid: 5659 topic_id: 1008 reply_id: 2482[/import]

Hi Scott,

you can see it all over the net that Apple rejects Apps that don’t support orientation change on the IPad well. They are very picky about this. ANSCA should really get this working. [import]uid: 5712 topic_id: 1008 reply_id: 2485[/import]

Bugs 187 and 25 are addressing this issue and has been escalated to fix asap.

Carlos [import]uid: 24 topic_id: 1008 reply_id: 2507[/import]

Fixed in Beta 4. See the “NativeOrientation” sample code in the Getting Started subdirectory for an example of orientation in native UI.

There is a remaining issue with rotating web popups, but everything else should work now.

[import]uid: 3007 topic_id: 1008 reply_id: 2632[/import]

Yup, the alert dialog works for me on the iPad now and also orients correctly. :slight_smile:

Scott [import]uid: 5659 topic_id: 1008 reply_id: 2635[/import]

@evank Did the web popups rotation issue get fixed? It does not seem to be fixed running the latest build, 632… [import]uid: 8271 topic_id: 1008 reply_id: 59944[/import]

Horace that is a daily build. Please test in version .591

If you are still having issues file a bug report and post the #, please. This thread is a year and a half old so any issues that come up now are not going to be the same as they were then :wink:

Peach [import]uid: 52491 topic_id: 1008 reply_id: 60012[/import]

Thanks. I’ve been checking the state of the web popup issue in other threads, too.

Edit…

Hate to say it, but 591 and the latest daily don’t seem to treat web popups any differently. This is also confirmed by Tom.

There’s already at least 3 bug entries about it, so I’m not sure adding another would help. Also, ‘imporoved web popup behaviour’ is in the top priorities of the road map, so I’m just trying to find out what those are and when they might arrive.

Matt. [import]uid: 8271 topic_id: 1008 reply_id: 60013[/import]

@scott

we have 10 ipad apps in app store that only supports one orientation…
so it is possible to have apple accept this, but maybe it also depends on what kind of app you are submitting… I don’t know [import]uid: 13632 topic_id: 1008 reply_id: 60024[/import]