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

  • Home
  • SEARCH
  • 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 954303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T00:11:40+00:00 2026-05-16T00:11:40+00:00

this is what i get when using this code: UIAlertView *alert = [[UIAlertView alloc]

  • 0

http://www.freeimagehosting.net/uploads/494c515b14.jpg

this is what i get when using this code:

UIAlertView *alert = [[UIAlertView alloc] initWithTitle:[NSString stringWithFormat:@"Rank on ScoreBoard: %d",positionOnBoard] message:@"" delegate:self cancelButtonTitle:@"Dismiss" otherButtonTitles:@"Submit", nil];
nameField = [[UITextField alloc] initWithFrame:CGRectMake(12, 25, 260, 21)];

[nameField setBackgroundColor:[UIColor whiteColor]];
[nameField setPlaceholder:@"Your Name Here!"];

[alert addSubview:nameField];

[alert show];

[nameField becomeFirstResponder];

[alert release];

as you see, it’s messed up.
it only happened when ugrading my project to iOS 4.0.

  • 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-16T00:11:41+00:00Added an answer on May 16, 2026 at 12:11 am

    Eventually I solved it by increasing the height of the UIAlertView by adding a “\n ” (YES, it’s a space after the \n) to the InitWIthTitle parameter, then i had enough space to place the UITextField correctly.

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

Sidebar

Ask A Question

Stats

  • Questions 506k
  • Answers 506k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Sure, see Karl Peterson's "Translucent" example: http://vb.mvps.org/samples/Translucent/ To keep the… May 16, 2026 at 3:49 pm
  • Editorial Team
    Editorial Team added an answer Well, it turns out the actual problem was the SIZE… May 16, 2026 at 3:49 pm
  • Editorial Team
    Editorial Team added an answer Outside of the class, that type must be referred as… May 16, 2026 at 3:49 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

Hi i am using this code to get this path : http://192.168.1.5:83/staging/eleave/application/view/leave_approval.php var url
I am using this code... Reachability *r = [Reachability reachabilityWithHostName:@www.maxqdata.com]; NetworkStatus internetStatus = [r
In my contact management app i am using webservice to get a large xml
I am using the code below to do pagination on a table (please do
I'm using MSBuild with the community tasks under TeamCity. Just like Garrett in this
I have implemented Apple Push Notification service using Urban Airship and successfully received the
I've been trying to get OAuth for Twitter to work on my iPhone application
So I'd like to do this: switch (keyPath) { case @refreshCount: //do stuff case
I'm trying to connect to a website (source code below) that requires login and
I'm using an ajax call to do a minor calculation then return the value

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.