setorientation

Any way to silence the UIDevice setOrientation warning?

Anyone have a simple way to silence the undocumented UIDevice setOrientation warning? I found this piece of code that silences the undocumented UIPickerView setSoundsEnabled warning. ...

setOrientation problem

I have a really strange orientation issue. I have a sequence of view controllers under a navigation controller. One of them can take any orientation. When I'm leaving the orientation I have to use setOrientation. The funny thing is the rotation takes place as the transition occurs to the next page. This isn't normally a problem exce...

Set ORIENTATION_LANDSCAPE not working Android

@Override public void onConfigurationChanged(Configuration _newConfig) { if (_newConfig.orientation == Configuration.ORIENTATION_LANDSCAPE) { Toast toast = Toast.makeText(this, "test orientation_landscape", Toast.LENGTH_LONG); toast.show(); setContentView(R.layout.proceed); } if (...

Force iPhone Orientation

I'm making an iPad app and I need to force the orientation to portrait to several parts of the app. I used the undocumented "setOrientation" API and the app was rejected. Is there a documented way to do this? ...

how to adjust the view to land scape mode when application launches in landscape mode

i have a split view in ipad and its working fine when i launches it in poprtrait but is showing in portrait views in landscape also... how to automatically adjust the views in land scape mode when app first launches.... ...