IPhone SDK: How can I disable the keyboard on a UITextField

I would like to disable to keyboard for a UITextField. When someone touches the textfield, I would like them to be able to manipulate the cursor inside the field but I do not want a keyboard to appear.
In other words, simply unchecking the enable option in IB is not going to work. The field needs to be enabled but I would like the keyboard to stay hidden.
Any ideas?

Check UITextFieldDelegate textFieldShouldBeginEditing. Return NO and see what happens. I'm not sure if that will fix it though.

Similar Messages

  • How can I disable the keyboard in JTextField

    Hi,
    How can I disable the keyboard when a particular condition is met inside a JTextField ... ??? Pl zzzz help

    You can do like this:
    jTextField1 = new javax.swing.JTextField();
    jTextField1.setText("jTextField1");
    jTextField1.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyPressed(java.awt.event.KeyEvent evt) {
         jTextField1KeyPressed(evt);
    private void jTextField1KeyPressed(java.awt.event.KeyEvent evt) {
         if(condition){
              jTextField1.setEditable(false);
    }

  • How can I disable the Voicemail button on an iPhone 4

    How can I disable the Voicemail button on an iPhone 4 or
    if that is not possible can i programme it to dial my own phone rather than my carrier's Voicemail box?

    No, it's not possible to disable that button and no, it's not possible to reprogram it to anything else.

  • How can I disable the Photos app from automatically running when I plug in my iPhone?

    How can I disable the Photos app from automatically running when I plug in my iPhone?
    I have no intention of ever using Photos, in fact, having to abandon Aperture takes me one step close to moving back to Windows, but I digress.
    I just want to NOT have to kill the Photos app every time I plug in my phone.
    Thanks.

    I am still seeing the option Image Capture, like shown in the screenshot that Rysz posted.   But it is another example of the hide-and-seek Apple likes to play with us.
    The option has to be set for each device individually. With the device connected to USB, you have to click the tiny disclosure triangle in the lower left corner of the sidebar to reveal the option.
    I was perfectly happy with the program I paid for (Aperture), and now to maintain the functionality I have to pay for another application (LightRoom) to get the functionality that I paid for in Aperture.
    Aperture 3.6 is working well with Yosemite. I will use it, as long as I have a Mac, that will run Yosemite or a compatible system.
    Have you looked at Capture One?  It looks much more similar to Aperture than Lightroom.

  • HT201407 My iphone suddenly stops working and asked for activation required. I did restore it thru itunes but it asks me to turn off "find my iphone". How can i disable "find my iphone" if i can open the iphone itself. please help me.

    My iphone suddenly stops working and asked for activation required. I did restore it thru itunes but it asks me to turn off "find my iphone". How can i disable "find my iphone" if i can open the iphone itself. please help me.

    My iphone 5 suddenly stops working and asked for activation required. I did restore it thru itunes but it asks me to turn off "find my iphone". How can i disable "find my iphone" if i can't open the iphone itself. please help me.

  • How can I disable the location service of my camera and photos in my iphone 5s?

    How can I disable the location service of my camera and photos of my iphone 5s?

    Settings>Privacy>Location Services>Camera>OFF.

  • How can I disable the advancedAntiAliasing with fontswf in sdk

    Hi,
    in asc2.0 we need 'fontswf' script to embed fonts instead of use .as file directly.
    but here is a problem
    I cannt disable the advancedAntiAliasing with fontswf ?
    because I have found an issue when I set advancedAntiAliasing is true, then the textfield (which font is embeded) antiAliasType doesn't work even type is advanced. I need set advancedAntiAliasing is false (in asc1.0 you can set it by .as file)
    now i just set the sharpness and thickness to workaround in used asc2.0
    but i think that is not great.
    so how can I disable the advancedAntiAliasing with fontswf  or any other solution?
    thanks
    hbb

    Hello -
    That setting is not fully supported.  You can explicitly call it like this:
    ./compc -include-sources  ../samples/test/Main.as -output ../samples/test/Main.swf -advanced-anti-aliasing=true/false
    So, that is the compiler option that you want to use in order to disable it.  The example I show you here uses the command line tool but it is a valid switch via Flash Builder as well

  • How can I disable the light of my keyborad?

    Hello everybody!!! I wonder how can I disable the light from my keyboard. I just can change the colors in 4 differents ways but none of then can switch off the light of my keyboard. I have a GT70 2PC. Thanks for your time .

    you should be able to turn off and on with FN and + to turn on then FN and the - button i think it was to turn off the backlight it's on number pad area to the right you should see light form icon showing light is on and then another 1 that is showing it's off
    here is pic of marked buttons that i'm talking about.

  • How can I disable the shift-click slow motion special effects in Mac OS 10.6?

    How can I disable the slow motion special effects that occur when you do something and hold shift? (By the way, the terminal command doesn't work in 10.6)

    I'd like to know how to do this now too since the terminal command doesn't work in Lion / ML. Anyone know how?
    And Leroy - the reason is because I have custom hot keys configured and the shift key is a key I want to use for this command. I would like to know how to disable the slow motion effect permanently since I never need it and would certainly like to use my shift key as a modifier for various keyboard commands.

  • How can I disable the camera's clicking sound?

    That click is irritating and pointless to me. I understand they don't want people surreptiously photographing women's beavers on subways in Tokyo and such, but that is easily overridden by simply by turning off all the iPhone's sounds completely each time with the little button on the top of the left side of the phone.
    My point is, I don't want to have to silence my phone each time, and then turn it back on again after taking some pictures, which I often forget to do. So how can I disable the silly camera sound without muting the entire iPhone each and every time I use the camera?

    Actually in other countries, even on silent it will not mute the camera as it is their law to have camera sound.
    As for here, that is only option, silent mode.

  • How can i disable the internal speakers without voiding the warranty?

    The students here annoy other students trying to study, I have made an extension for the headphone so that it is mounted under the monitor, facing the front and hot glued the headphone jack to the back, but the students ripped out the extension and threw it away so that they could play very awful music and annoy everyone.
    How can I disable the internal speakers on our imacs without voiding warranty? There has to be a way!
    Thanks-

    Have you considered corporal punishment? One instructor I had in high school, when he had detention duty, played classical music an operas all during detention. He was quite "evil". He would have some slow "sleepy" music going for a bit, then it would throw in something to wake every one up like the 1812 Overture or something, and repeat this a few times...and have the music loud enough to prevent talking. Many detention-ees thought that was "cruel and unusual punishment." (LOL)
    But to your question. Since opening the case would normally void the warranty (unless you can find a empathetic Apple technician), what I would suggest is a "sleeve". Imagine some sheet metal and form it into a rectangular tube. The tube would closely follow the shape of the iMac covering all the cable ports. Then bolt the tube and iMac to the table. (Or at the very least, bolt the tube to the iMac.) Basically, make it so that there little room between the tube and iMac, that no one could access the ports without removing the tube. You'll also need to secure the cables to the tube so that no one can just pull out the cables, yet leave enough slack to allow for removal of the tube for maintenance. Even if the metal is not a full tube, but the Mac and metal is bolted to the table in such a way as to prevent access to the ports could be sufficient deterrent. If metal is not possible, then perhaps plastic or wood.
    I realize that is requires some work, and there is a drawback as pranksters could start dropping stuff inside the tube. Perhaps just have a clear plastic "wall" preventing all physical access to the Mac. Only a USB extension cable for the keyboard/mouse. Use Remote Disk sharing to mount CDs, if necessary.
    Some thoughts, anyway. Good luck!

  • My laptop was stolen and with it my itunes, all of my music (including non-apple downloaded content) is still on my iphone 5, how can I transfer the files to my new laptop which is authorised to the same apple ID?

    my laptop was stolen and with it my itunes, all of my music (including non-apple downloaded content) is still on my iphone 5, how can I transfer the files to my new laptop which is authorised to the same apple ID?

    See this user tip for recovering the media from the iPhone: https://discussions.apple.com/docs/DOC-3991

  • HT204053 I have an iCloud account on my Mac which has a different account name to that on my iPhone. How can I change the Mac account name to that on the iPhone?

    Hi,
    I have an iCloud account on my Mac which has a different account name to the iCloud account on my iPhone. How can I change the Mac account name to match the iPhone one? Kuranda.

    You can't change it in one step. Sign out of the one now on the Mac, sign onto the right one.

  • How can I DISABLE the pop up 'Would you like to copy it to Library', preventing this message from bothering for each and every book, again and again, time after time? (Windows 7 64bit US).

    How can I DISABLE the pop up 'Would you like to copy it to Library', preventing this message from bothering for each and every book, again and again , time after time? (Windows 7 64bit US).
    I guess this may be a feature request. Adobe may think this is a good message for every new eBook.
    I sure would like to decide about that myself.
    Thanks in advance if this will be changed.

    singmk wrote:
    Decided to setup the mail for exchange on my N8 so I could see my work emails. Worked like a charm but after a couple of hours decided I didn't like being that contactable so deleted the mailbox.
    Now to the problem, during setup I was forced to enable the phone lock and had to pick a 7 digit alphanumeric code. Fair enough I thought and went ahead. When I removed the mailbox however the lock remained in place with the default auto time of 30 minutes. When I checked in Phone management there is no option to disable this lock so I thought I could at least change the default time to something bigger but when you try, it remains at 30 mins. You also can't disable the auto time as it pops up an error message saying can't unlock phone.
    Does anyone know if I'm missing something obvious here or is this something which can't be disabled once it's switched on? I've done a soft reset back to factory settings with no luck and the only other thing I can think of is re installing the firmware which seems a bit extreme.
    Would like to hope there is some way to have control over this. Can someone help?
    Which firmware your N8 having now? You can check firmware by choosing Call, then type *#0000#.
    My N8 works fine on security setting and able to define Phone auto lock period, by choosing Menu>Settings>Phone>Phone management>Security settings>Phone and SIM card>Phone auto lock period>User defined>Lock after(minutes)
    You will prompt to enter Lock code each time u define auto lock priod or enable/disable auto lock.
    Hope this can help you.
    If you find this post helpful, please show your appreciation by clicking the Kudos star at the left. If it provides you the solution, please click on the GREEN Accept as Solution button at below

  • How can i disable the credit card from that stolen acc and register to my new account

    Hello everywone i have a big problem.. Somewone stole my apple id and changed everything (email , secret question). In that account was my credit card registered. how can i disable the credit card from that stolen acc and register to my new account ?? thanks for help

    Is it an IMAP or POP account?
    For POP accounts, you can select remove from server under the advanced tab of the account.
    Apple support article with information on receiving a message more than once:
    Mail Problems

Maybe you are looking for

  • Software Problems Safari & Youtube

    Why does every time I leave Safari open with a few tabs and then I click on the Tabs to re-check the page it gets REFRESHED??? Also another question, Why when I'm listening to a youtube video suddenly it stops and it never plays again? By the way it

  • Where's the trial?

    I successfully downloaded the Adobe Acrobat XI trial, but can't find the actual trial, just 'readme' files under my local_admin where the trial downloaded.

  • Exchange Configuration

    I've now upgraded to OS4 and am hoping that I can now use my iPhone to access both my Gmail account AND my work e-mail. My Gmail is connected and always has been. I've been trying to configure my work account using my network username and password an

  • Turn off color management in printer driver?

    Hello folks: When I select an icc color profile in Aperture 3 in the Print dialog box, a warning pops up that says "Turn off Color Management in the Printer Driver." I have an Epson R2880, but for the life of me I cannot find a way to turn it off in

  • Finally got MSN to open with iChat but can't Video chat with friends??

    I used psi to make a jabber account and added an MSN transport, so i can open MSN with iChat. Its pretty cool, but my biggest problem is video chat. Is it possible to video and voice chat with my friends who have a webcam and are using them on MSN on