Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Mobile-Applications 14965-uikeyboard-done-button uikeyboard done button/return button
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Java Coder
uikeyboard done button/return button
1 Answer(s)      4 years ago
Posted in : MobileApplications


Hi everyone!!! Just worried about ..how to return the UIKeyboard on done or return button click in my iPhone application.

Thanks


Advertisement
View Answers

January 5, 2011 at 11:34 AM


Hi, Find the given code that will allow you to return the uikeyboard on done button click. Do not forget to call <UITextFieldDelegate> in you header file.

- (void)viewDidLoad {
    [super viewDidLoad];

            button1.returnKeyType = UIReturnKeyDone;
            button2.returnKeyType = UIReturnKeyDone;

        button1.delegate = self;
       button2.delegate = self;

  }

// dismiss the keyboard then the "done" button is clicked
- (BOOL)textFieldShouldReturn:(UITextField *)textField
 {
    [button1 resignFirstResponder];
    [button2 resignFirstResponder];

    return YES;
 }


Related Tutorials/Questions & Answers:
uikeyboard done button/return button
uikeyboard done button/return button  Hi everyone!!! Just worried about ..how to return the UIKeyboard on done or return button click in my iPhone... to return the uikeyboard on done button click. Do not forget to call <
uitableview edit done button
uitableview edit done button  How to add Edit / Done button in UITableView with an action on click?   UITableview Edit done Button To add " Edit / Done button " in UITableView add the given code in UIView Controller
Advertisements
Keyboard Done button in iphone
Keyboard Done button in iphone  hii,, how can i set a function on press keyboard done button.   hello, For making keyboard Done button press :- import keyboard displacement by adding this line #define kOFFSET
uikeyboard disable return key
uikeyboard disable return key  uikeyboard - hot to disable return key
iPhone Button Image
iPhone Button Image In this tutorial will learn how to Create iPhone Button image and also how to set the image on button click on the view, this will be done using code. We are not going to using Interface Builder to add Button, whole
where the progrming is done in the struts.
where the progrming is done in the struts.  where the progrming is done in the struts.   Hi Friend, You can use EditPlus, Eclipse or NetBeans IDE. For more information, visit the following link: Struts Tutorials
Button
Button  How to use image for button in JSF
button
button  can i give multiple commands on click of a button? if yes how can i do that?? multiple commands can we retriving dat from database, capturing data, moving to next page.. etc
button
button  can i give multiple commands on click of a button? if yes how can i do that?? multiple commands can be retriving dat from database, capturing data, moving to next page.. etc
Submit a Request for a Project to be done
Fill this form to Submit a Request for a Project to be done. Our development team will shortly contact you.   Visit Services section to submit your project details
link list done bye hand
link list done bye hand  hello i want to create a linkes list made by hand that is for example finding the previous location and current location to insert a element in to a link list ??? not just doing it by link.add() pls
how to done calculation for dynamic generated textboxes in jquery/javascript/ajax?
how to done calculation for dynamic generated textboxes in jquery/javascript/ajax?  how to done calculation for dynamic generated textboxes in jquery/javascript/ajax
wnidows button
wnidows button   How to handle windows back and forward button in struts applications, without using java script
radio button
radio button  On selecting a radio button, it should open a aspx page
Style in button
Style in button  Hi.... How can I set the button width with fx:style... of the button will not set by the style because it is the property of the button not the style property of the button. Thanks
html button
html button  when i click the submit button the entered data will be displayed below the submit button please help me
Back button
Back button  how to redirect to a home page when a back button is pressed in jsp instead of displaying the previous page
create a button
create a button  i have created button inhtml but my jsp is not working,so can u guide me
flogin button
flogin button  how to pass redirctt url for flogin button...and to retrieve parameters that are passed in that url..to store in our database
coding of button
coding of button  What is code of fetching the value of button in a textbox using javascript
when update is done on parent object child object is also updated
when update is done on parent object child object is also updated  here is my code.. Hibernate-1 Hibernate-2
button tag
button tag  how do i change button color to black. meant to say i want black button with white text on it   Hi Friend, Try the following... Message: <input type="text" id="msg"><br> <input type="button" value
button in java
button in java  how can i compare names of two buttons after...) { System.out.println("button clicked"); } } Thanks   Hi.... i want to keep the labels on the button same yet identify them individually
Show number of refresh done to web page in jsp
variable initialization is done only once hence static counterPage variable?s...() { countPage++; return countPage; } } Output: In the browser it will show at first
submit button
submit button  <p>hi I am trying to insert record in database using hibernate in JSP(Netbeans). When I click insert button it should go to insert.java class but fails to go.</p> <ul> <li><p>
How to draw a web button, draw a web button, web button
How to draw a web button       Be ready to learn a simple technique to draw a web button, if you are not able to make a web button follow every steps that are give in this example
handling Button Event in iphone
handling Button Event in iphone  handling Button Event in iphone
on click button php
on click button php  Function in PHP for on click button
in an application one task has to done for every 15 minutes ? How con you do it?
in an application one task has to done for every 15 minutes ? How con you do it?  in an application one task has to done for every 15 minutes ? How con you do
HTML Button onclick get ID of Button
HTML Button onclick get ID of Button  How i can get the ID of HTML Button on click?? I wanted to do it using JavaScript function. Thanks
i want code of signing off from a account how its done in jsp and servlet by using either cookies or session
i want code of signing off from a account how its done in jsp and servlet by using either cookies or session   sig
 

 

 

DMCA.com