Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9156951
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:53:38+00:00 2026-06-17T12:53:38+00:00

I am creating an App with phonegap framework in IOS. I have a few

  • 0

I am creating an App with phonegap framework in IOS. I have a few input boxes which are created through phonegap in html/javascript. I want to have soft keyboard of type [UIKeyboardTypeEmailAddress] for one of the input boxes.

My code in AppDelegate.h is as follows:

@property (nonatomic, strong) IBOutlet UITextField* textField;
- (void) setKeyboardType: (UIKeyboardType)newType; 

And for AppDelegate.m, it is as follows:

@synthesize  textField;

//function definition
- (void) setKeyboardType: (UIKeyboardType) newType  
{  
    //NSLog(@"setKeyboardType: %@", newType);
    textField.keyboardType = newType;  
} 

and called from another function like follows:

[self setKeyboardType: (UIKeyboardType) UIKeyboardTypeEmailAddress];

This code is not working for any of the input boxes. Plus, how can i put the condition for that particular input box to have this type. input box ID is available. thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T12:53:40+00:00Added an answer on June 17, 2026 at 12:53 pm

    If all you want to do is show a different keyboard set for your inputs, check HTML5 input types.

    For example, when you set the type of your input to email, iPhone puts an @ key to keyboard, so it’s a bit easier to type.

    <input type="email" />
    

    or when you set it to number, it shows the numeric keyboard

    <input type="number" />
    

    HTML5 input types are supported in other platforms as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating an ios/android app with phonegap(cordova) framework. My UI code is little
I am creating a new app using phonegap (html and javascript) and am using
I am creating a quiz style app for iOS using phonegap. The app allows
Hi i'm creating an app which have shopping cart and payment done via paypal
I am currently creating a hybrid mobile app (see phonegap/cordova) for iOS and Android
I'm planning on creating an app which will utilise Phonegap, however the app is
We're in the process of creating an iOS app using Phonegap, and are having
I am using phonegap(cordova 2.1.0) for IOS/android app development. Every time i have to
I am creating an app with Phonegap and JQuery Mobile and have a particular
I am creating a phonegap app which uses google maps to show directions and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.