I am writing app for iPhone. It works fine but in iPad it does not scale correctly. I have landscape view and I did it programatically. Then i am doing push. Then it shows this:

i want it to rotate and fullscreen. Please help me. Thanks in advance.
you can check and implement Orientation in ios6 or ios5 like bellow code And information Put Method in Each Class:
and check every time in
ViewWillApeardevice Oriantation like:-UPDATE
likely people use checking device
orientationlike below way in putting this line in toViewWillApear:-and
IN IOS5 only landscap you can do like bellow:
if you wish to support all oriantation you need to just return YES like:-