Is it possible to disable orientation change for a Symbian Web App? - symbian

Just a simple little problem. My app only needs to work in portrait mode and landscape looks funky. Is there a way to disable landscape mode in the app?
Thanks in advance.

There are two ways.
1) In your AppUI's ConstructL(), call:
BaseConstructL(CAknAppUi::EAppOrientationPortrait);
2) At any time, call:
AppUi()->SetOrientationL(CAknAppUi::EAppUiOrientationPortrait);
See also this Forum Nokia article.

Related

How to upload an app without having landscape mode through AppLoader?

I am trying to upload an Universal app which supports only Portrait mode. But while uploading the package through AppLoader, it's want me to enable Landscape mode. But I don't want to support Landscape mode in my Application. Please have a look the following image. How to upload an app without having landscape mode?
I know I am late to answer but for someone else who is still looking for answers.
Go to Project Navigator > General Tab > Choose Device Orientation to portrait mode only or whatever you designed.
Secondly, If you are targeting both then use constraints and UIStackView or for large changes use different storyboards.
Thanks for reading it.

how to make an ios app adaptive in Xcode 6.1(objective C) using auto layouts or any other simple approach

I am very new to Xcode and so as with auto layouts and i want to make my app which i've created, adaptive in a very easy way. I have seen lots of tutorials on internet but nothing helped me with my app. so i don't know how to make my app adaptive. so i need a help.
I have made an app that generate report in second view controller after providing inputs in first view controller.so i need to see how can i use auto layouts in my respective app to make it adaptive or there any easy way to get the results. i have seen all the videos related to it.
thanks in advance.
The best way is to use Auto Layout and Size Classes. This way your app will work with all iPhone sizes and all iPads. It will also behave correctly in portrait and landscape.
For more details, you will need to read and watch a lot of documentations/WWDC videos.

UIWebView orientation change

I want to launch a mobile website as an app on iPhone so I've use the UIWebView component.
I want my app to support orientation change,so I've written the following code but I'm not getting expected result.
Please suggest me what changes to be made in order to fix the problem.
Here is my code.
Perfect solution for you question,
http://developer.apple.com/library/ios/#featuredarticles/ViewControllerPGforiPhoneOS/RespondingtoDeviceOrientationChanges/RespondingtoDeviceOrientationChanges.html
which version is your test device?
you should notice that
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation is deprecated in ios6

IOS API to use to create app intro in a Flash way

I need to create an intro for IOS app, I want to create transition between images like Macos X screensaver themes (beach, forest...) with music, and text appearing and fading. I don't know exactly which IOS API/framework is the most suitable to use to achieve this. I will appreciate suggestions or links to tutorials.
Many thanks
These links might give you some inspiration on at least how to get started:
iphone fading of images
http://www.youtube.com/watch?v=a4M0BkJwLT0
How about UIImageView and UILabel, with block animation?

How to create SplitView Controller similar to setting in ipad?

I want to create spiltview controller similar to setting on the ipad.That means even in portrait mode the lefthand side panel should be visible as it appears in landscape mode.Hope I am able to explain what I want.Please can anyone know how I can achieve this?
Thanks in advance!
Ray Wenderlich has a nice tutorial on this subject that walks you through the steps:
iPad for iPhone developers 101: UISplitView Tutorial