I am having a requirement where a website ( url is hardcoded )would be getting open in full-screen mode
i.e. No address bar or No menu-bar buttons of SAFARI should be displayed in my application.
I am using following lines of code for the opening url in SAFARI browser.
NSURL *url=[[NSURL alloc]initWithString:@"http//www.google.com"];
[[UIApplication sharedApplication] openURL:url];
what properties shall I set for UIApplication so that I will get the SAFARI browser in full-screen mode in my app?
You can’t do this from the Application, it is up to the website to try and enforce this. In order to achieve what you’re after, I believe you need to make the website pretend to be a web-app.
Apple have documentation on how to customize Safari for your website, see http://developer.apple.com/library/safari/#documentation/appleapplications/reference/safariwebcontent/configuringwebapplications/configuringwebapplications.html, specifically “Hiding Safari User Interface Components“