Generic carrier for iphone app screen shots [duplicate] - iphone

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Iphone App submission: Status bar and screenshots
We looked at some app pages in apple store, and found that the screen shots of apps always say "Carrier" instead of the name of any particular carrier - probably to be neutral.
Any way, here is the question, is that something apple does to all screen shots? or I have to modify my screen shots to be that way.
Second question, if that's something apple does, do I need to cut off the top part of my screens to pave the way for them?

The iPhone simulator shows the generic "Carrier" label.

The emulator doesnt have a carrier, so just take a screenshot of the emulator and you will be fine :)

Related

Show green bar on top of screen to return to app [duplicate]

This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
SBStatusBarController instance
I am working on voip based application, i have used "Twilio Api" for this.
Every thing works fine but when my goes in background when call is going on, my call is interrupted and iphone does not show green bar on top of screen to return to app.
To display green bar and run call in background i have set "voip value in my info.plist" file.
Is there any suggestion??
Thanks..
if your app is not a voip or audio app, apple wont like this
but it works using a plist key. see: SBStatusBarController instance

Determine the model of iPhone device [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to deal with iPhone 5 screen size?
So with the release of iPhone 5 today and a larger screen height, how do we accommodate for different screen sizes across the different iPhone variants in our apps. I understand that apps which are not updated for iPhone 5 will be "letter boxed", but what about backwards compatibility?
Is there a way to check whether the app is running on an iPhone 3, 4 or 5?
You normally don't need that, because checking the hardware is not the right approach.
If you need to base decisions in your app on the screen size, like accomodate to the screen size for your UI, you should… test the screen size, not make some conditions on the hardware. Always test what is really necessary.
Use [UIScreen mainScreen].bounds for that (as you should always have done). Note that even before iPhone 5, one could plug its iPhone on a videoprojector or external screen and display its app on a screen with different resolution than the iPhone. That's why I hope that you never use magic numbers in your code (And if you did, you know why it's bad now ;)) and was already using constants or asking at runtime for the size of your screen.
Anyway, to accomodate for different screen sizes, if you configured your autoresizing mask correctly in your views, your applications will resize automagically. You just need to provide a Default-h568#2x.png launch image and your app will take the full size of the 4" screen.
Moreover, starting iOS6, you will be able to use AutoLayout to do finer constrainted layout of your views. See the WWDC'12 videos sessions that explains it in detail.
Checkout the UIDevice-Hardware extension, it was even recently updated to add support for the iPhone 5.

How to play the flash file on ios5? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Can we play .swf files in iphone using Objective C
I want to implement the splash screen on my app. I have an "SWF" file. How to implement the splash screen using this file? Please tell me. Any 3rd party sdk or any framework or library for the same? please give me any idea for this functionality.
Swf is not supported by iOS. You can take the image sequence and use it in place of a swf file.
You won't be able to do that because:
iPhone does not support SWF. This was one of the biggest fight in the mobile industry between Adobe and Apple
the splash screen is shown by the OS while your application is starting and not by user code
any additional animation after splash screen is against Apple's guidelines and will be rejected. See also Adding animation between splashScreen And home screen

change ipad applications to iphone applications [duplicate]

This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
Convert ipad application to iphone. Universal app
I created one application which is iPad application. I want to change this iPad applications to iPhone applications.For that I change my application in universal. But the size of images,buttons etc are the same. Can I change my application to iPhone app? How can I do that? Or Is it necessary to create another application for iPhone? Can you give a solution for that? Please help me?
You can create another target from the first one (right click on the existing target and duplicate).
Concerning the frames of your views (label, buttons, etc...), it will depend of the way you've created them. If you've sized and placed them regarding the size of the screen, it should be ok.
Concerning your images, the best is to re-design them specially for the iphone target

How to create a sidebar similar to the facebook app for iOS? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
What's the best way to develop a sideswipe menu like the one in Facebook's new iOS app?
How can i create a sidebar similar to the facebook app for iOS (iPhone/iPad)? That sidebar that appears when you slide your finger horizontally. There is a component for this or is it just a UIView?
You're in luck! Somebody just created a complete sample app showing how to create that, and includes a video of the effect. Here it is:
https://github.com/BenHall/ios_facebook_style_navigation
There is no already made component to do that given by Apple.
I would say it's just an UIView under the main one that is slided on the right.
You might want to start from here and work your way out. The basic idea is very much there.