corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » FAO anyone that knows a bit of Objective C


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author FAO anyone that knows a bit of Objective C
Sam
Moderator
Premium Member


Registered: 24th Dec 99
Location: West Midlands
User status: Offline
6th Jun 12 at 21:27   View User's Profile U2U Member Reply With Quote

When you create an iOS app in Xcode, and you have a scene set up within the storyboard that has a text field, how do you get the keypad to go away in the simulator (and similarly on an actual iOS device)?

I found some code on the web that makes it go away if I press the Return key on my Mac keyboard, but obviously if you are using an iOS device you won't have a physical keyboard so I would like the keypad to go away when you say tap on the background screen for example.

This is definitely a steep learning curve for me!
AndyKent
Member

Registered: 3rd Sep 05
User status: Offline
7th Jun 12 at 08:07   View User's Profile U2U Member Reply With Quote

Have you tried it on a live device?

I would have expected that as soon as the text field loses focus the keyboard would automatically disappear - something that iOS handles rather than the app itself....
Sam
Moderator
Premium Member


Registered: 24th Dec 99
Location: West Midlands
User status: Offline
7th Jun 12 at 12:55   View User's Profile U2U Member Reply With Quote

Good old YouTube saved the day in the end, here's a link in case anyone is interested:

http://www.youtube.com/watch?v=WgnRjp1ZEkY

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
FAO any1 Drew General Chat 11 1216
19th Apr 03 at 11:51
by 16vmarc
 
Marc Colin General Chat 17 848
19th May 04 at 17:00
by Andy Stocker
 
This nova must be pretty nippy SteveW General Chat 48 967
20th Jul 05 at 06:38
by Cybermonkey
 
COD4 (Xbox 360) Calling all CS players! danny_vx Geek Day 108 2457
19th Jan 08 at 17:41
by danny_vx
 
Mobile Apps A1EX Geek Day 16 646
11th May 12 at 22:34
by A2H GO
 

Corsa Sport » Message Board » Off Day » Geek Day » FAO anyone that knows a bit of Objective C 29 database queries in 0.0109749 seconds