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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:26:11+00:00 2026-05-27T05:26:11+00:00

Ok On first run I ask for the mobile phone number in an alertview.

  • 0

Ok
On first run I ask for the mobile phone number in an alertview. This is using – (void)textFieldDidEndEditing:(UITextField *)textField to validate the phone number.

Now I also have push notifications.

The trouble is when the app is first installed the alertview shows and the keyboard shows but the “Do you want to enable push notifications” alert also shows. So whats the problem? Well the alert shows then over the alert the push notification shows blocking the input box. Then the keyboard shows blocking the “Yes/No” buttons of the push notification.

Therefor I cannot dismiss or answer either alert! So my first thought is to comment out [passwordField becomeFirstResponder]; for the phone number alert and the keyboard can be dismissed but then my validation never gets called. 🙁

Any suggestions will be appreciated.

  • 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-27T05:26:12+00:00Added an answer on May 27, 2026 at 5:26 am

    You have to delay your register for push notifications code until after your UI is done.

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

Sidebar

Related Questions

First i run this (in chrome): var start; var end; start = (new Date()).getTime();
I ask this because i'm using Partial classing to extend my db model, and
I am using CLLocationManager to find the location.The first time that I run the
This is the first time I ask for your help, Actually I have to
This is the second time I ask this question because in my first try
I realize this may be subjective, so will ask a concrete question, but first,
At first, this might not seem the proper place to ask this... But since
When I first run my program and type some text in the richtextbox, if
GPS is not launching at first run after clicking OK of Would like to
How can I run a function upon the first run of a greasemonkey script?

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.