开发者

How to make your screen view slanted in your particular view in iphone application?

How to make an particular view in your iPhone game application slanted i.e. the screen will be 480 X 320 pixels .Can anyone provide me some code for it Or any us开发者_如何学编程eful links for the same?

I also wanted to ask question related to the use of camera. Can we make use of camera into our own app i.e. inside the frame of my application?

I want the code for it and how to design the page in the 480 X 320 pixels view?


You are asking to start the application in Landscape mode I guess.

Add this method in you applicationDidFinishedLaunchin: method

[[UIApplication sharedApplication] setStatusBarOrientation:UIInterfaceOrientationLandscapeRight animated:NO];

and design your views for 480x320 dimension.

For using camera you will need to explore API's available for it in developer documentation. See this link for UIImagePickerController Class Reference

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜