Question: I want to create a iPhone Application. My aim is, it will be contains Landscape view only from loading time. How to disable portrait view from loading time?

Answer: 
In your application plist file add a "Initial interface orientation" row and specify desired initial orientation there.
Finally I get the following answer.

LandscapeViewController.h
-------------------------

```
#import < UIKit / UIKit.h >

@interface LandscapeViewController : UIViewController {

UIStatusBarStyle oldStatusBarStyle;

}

@end

----------------------------
LandscapeViewController.m
--------------------------

         #import "LandscapeViewController.h"

@implementation LandscapeViewController

        - (void)viewDidLoad {

    [super viewDidLoad];
}

      - (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];

    oldStatusBarStyle = [[UIApplication sharedApplication] statusBarStyle];

    [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleBlackTranslucent animated:NO];

}

       - (void)viewWillDisappear:(BOOL)animated
{
    [super viewWillDisappear:animated];

    [[UIApplication sharedApplication] setStatusBarStyle:oldStatusBarStyle animated:NO];    

}

      - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{

    return (interfaceOrientation==UIInterfaceOrientationLandscapeRight);

    NSLog(@"DDDDDDDDD");
}

      - (void)didReceiveMemoryWarning 
{
    [super didReceiveMemoryWarning];
}

      - (void)dealloc 
{

    [super dealloc];
}
@end

```

and refer the following link do that steps:

<http://www.dejoware.com/blogpages/files/iphone_programming_statusbarless_landscapeonly_utility_app.php>