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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T20:01:32+00:00 2026-05-13T20:01:32+00:00

I have a window within an iPhone application, which is displayed modally to allow

  • 0

I have a window within an iPhone application, which is displayed modally to allow the user to enter their settings for a web service upon ‘first run’.

The text fields have helper text set, and when you tap them the keyboard shows and allows you to enter text.

Unfortunately the text fields do not clear the helper text, show the edit caret or show the text being entered (as in the screenshot below).

The wonderful issue...

Any suggestions?

The window is being displayed with [self presentModalViewController:<controller_name> animated:YES];, which may or may not be the cause of this issue – when I run the UI via the Interface Builder ‘test’ application the text boxes respond like normal.

Clear when editing begins has been set for both fields.

Thanks in advance!

Edited: More information
After the info Bart Gottschalk provided I thought I should add some more information. First, the application is a Navigation Based Application.

Secondly, the test app Bart recommended worked fine, so that takes the modal window and the view out of the equation.

Third, I was presenting the modal view when the -(void)viewWillAppear... delegate method was being called – which may very well be the wrong place… however I’m not 100% sure if I should be presenting the modal view from within the didFinishLaunchingWithOptions of the App Delegate…

(this is happening on Simulator and iPhone 3.1.3)

  • 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-13T20:01:32+00:00Added an answer on May 13, 2026 at 8:01 pm

    Well, I just figured it out, but honestly without the persistence and awesome help from Bart it would have taken much longer and been much more frustrating.

    It turns out the problem was that I was using a Window instead of a View in the XIB file. This was why when showing the modal view within the Navigation controller it wouldn’t display properly (i.e. only a white screen) and why the UITextField would not work properly when showing the view from the RootViewController.

    So, to recap – modal views should have UIView, not UIWindow in the XIB/NIB File.

    Thanks for your help Bart!

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

Sidebar

Related Questions

I have a K* window, and within it, a widget which needs the events
I have a console application from which I create a window. I can render
I have a window in WPF which shows some media contents. This content contains
I have a Window with my user control and I would like to make
I have an iPhone application that is mostly using standard controls. There is one
I have a window with a simple frame element within it (we'll call it
I currently have a window with a ListBox within in. The ListBox shows the
Is it possible to embed a windows form within another windows form? I have
I have a multi-threaded Windows C++ app written in Visual Studio 6. Within the
I have Perl on Mac, Windows and Ubuntu. How can I tell from within

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.