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 6683123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:47:03+00:00 2026-05-26T04:47:03+00:00

I want a quick input from a user. I know I can put a

  • 0

I want a quick input from a user. I know I can put a UITextField in UIAlertView but it’s sort of a “hack”. Is there an official/alternative way to do this?

It’s pretty surprising that there’s no control for such a typical scenario.

Thanks

UPDATE:
Tried EGOTextFieldAlertView but here’s the result:
enter image description here

and code:

   EGOTextFieldAlertView *alert = [[EGOTextFieldAlertView alloc] initWithTitle:@"Enter the group name" 
                                                                        message:nil 
                                                                       delegate:self 
                                                              cancelButtonTitle:@"Cancel" 
                                                              otherButtonTitles:@"OK", nil];
    [alert addTextFieldWithLabel:@"Name"];
    [alert show];
    [alert release];
  • 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-05-26T04:47:04+00:00Added an answer on May 26, 2026 at 4:47 am

    If you’re willing to require iOS 5 then it’s no longer a hack. UIAlertView now has a alertViewStyle property which, when set to UIAlertViewStylePlainTextInput, adds a single text field to the alert that you can retrieve with -[UIAlertView textFieldAtIndex:].

    If you still require 4.3 or earlier, then no, there’s no official way to do this and it really is a big “hack” that’s on par with calling SPI.

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

Sidebar

Related Questions

quick question I know in wordpress you can get post_content,etc but let say I
I want to do some quick inserts but avoid duplicates into a Table. For
Quick question: I need to allow an input to only accept letters, from a
I have an input file that I want to sort based on timestamp which
quick question here. Normally, using JQuery, if I want to pass the value from
Quick question: Is there a way to print raw input/output XML on a C#/.NET
Say I want to have a simple web app that takes some user input,
Just a quick question. I want to send data from Javascript to a PHP
I just want a quick way (and preferably not using a while loop)of createing
I want to do quick calculations in Excel. I have a cell (A1) with

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.