Can I get the iPhone number pad in an iPad app? [duplicate] - iphone

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
UIKeyboardTypeNumberPad on iPad
I want to give users the option of only inputting numbers. The number pad for iPad pops up with other symbols etc. Is it possible to get the iPhone version of the number pad in an iPad app?

Unfortunately, this is not possible. You can only use the UIKeyboardTypeNumberPad to get the numbers on an iPad, and the letters and symbols are not locked out. If you really need this, I would recommend looking up tutorials about making custom keyboards and using NSMutableStrings. This way, you can create your own keyboard and experience, and still have the same number pad as the iPhone.

Related

Need command to show fingers (two circle) in IOS simulator [duplicate]

This question already has answers here:
How to mimic two-finger scroll/drag gesture on ios simulator?
(7 answers)
Closed 9 years ago.
I am a blackberry developer. I'm new to IOS. I need to check for pinch events on IOS simulator. I googled it and saw images of two circles. Can you please tell me how I will get swipe (pinch or 2 circle) so that I can check my code?
Please give me any command, for example cmd+shift+2.
I am checking on iPad 6.0 simulator.
Use the option key on your keyboard. This will create two circles on the screen to indicate and mimic a two finger tap and pinch.
I think you hold the command key when you click on the simulator. Might be Option though.

How to make an Emoji App? (iOS) [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Making An Emoji Enabeling App
I'm wanting to be educated on how to create an emoji type app with the code. But i can't seem to find a tutorial for it. So I thought I would ask on here if anyone will help me. I've got Xcode and a $99 license too for testing it out on my device.
Thanks
Emoji chars are simply Unicode chars, just with more limited support as you progress backwards through iOS history. To enter emoji using the keyboard, iOS 5 and 6 provide the system standard Emoji keyboard (settings>general>international>keyboards>emoji). In code, any standard text rendering object will show most escaped chars you pass to them:
UITextView *example = [[UITextView alloc]initWithFrame:CGRectMake(0,0,320,460)];
[example setText:#"\U0001F604"];
[self.view addSubview: example];
Simple as that.
Note that prior to iOS 5, text rendered and sent as Emojis utilizes the iOS private Unicode space, which means anybody not on an iOS device will get a whole lot of ? And [] instead of characters. See here for the hack that enables the emoji keyboard in most of those emoji apps on the store.
📱

Generic carrier for iphone app screen shots [duplicate]

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 :)

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

When testing on iPod Touch, why are some images appearing huge? [duplicate]

This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
Running app built in iOS4 on iOS 3.0, why is everything huge?
My images in my app are all 2x (or more) the size that they appear at. But for some reason, some of these images are appearing at their original size on the screen, when testing on a device, and so appear twice as large as they do in Interface Builder and on the simulator. And some are appearing at the size they should be.
Any ideas why this could be? My iPod Touch is 1st generation, so it's on 3.0 software.
The app probably only includes double resolution images for the Retina Display, and they're not suffixed with "#2x" to indicate that they're double.