+1
Beantwortet

Orientation of a sub wire

jenifercmartin vor 11 Jahren aktualisiert von icahill (Administrator) vor 11 Jahren 1
My app supports all rotation orientations. However, I am calling a sub wire which I want to limit to portrait orientation. I have added the attribute "orientation="portrait" to my subwire's main body. In fusebox, the subwire is still changing orientation upon rotation. Once I build an adhoc, will that attribute keep the subwire's orientation fixed as portrait?
Unfortunately orientation is set globally, so there is really no way to differ or lock orientation from one sub wire to the next. You could create a simple if statement that can throw up a screen when you are in the undesirable orientation that just says, please return to the previous orientation. Something to that effect could be useful.