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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T02:15:54+00:00 2026-06-04T02:15:54+00:00

I have a download button in my view and when the button is clicked,

  • 0

I have a download button in my view and when the button is clicked, the app opens the app store with [[UIApplication sharedApplication] openURL]
However when I switch back to my app, I find that the [popViewController animated:YES] in my app is not animating.
I debug it for a few days and solved the problem, the reason is that in my applicationWillEnterForeground method, i did this:

[tabBarController.selectedViewController viewWillAppear:YES];

AND I had the bug.
My question is, why after i invoked this method, all my [popViewController animated:YES] is not working…

  • 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-04T02:15:55+00:00Added an answer on June 4, 2026 at 2:15 am

    I don’t know exactly why you had that bug, but as Apple documentation, you shouln’t call the - (void)viewWillAppear:(BOOL)animated method.

    UIViewController doc

    It’s a notification method, made to be overriden, and never called.

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

Sidebar

Related Questions

I have a view with a button which downloads files when clicked. Question I
Inside a webpage I have an Excel download button, which redirects to a webpage
in my app i have a list view. Each list consists of a image,
My Setup: In my iPhone app, I have a loading View (which is an
In my app i have a button that when click loads a new image
My UIActivityIndicatorView always crashes my app. When I press my download button, the indicator
I have table view which is showing list of files to download. When I
I'm trying to solve the following problem: I have a download button that when
I have a form1, there's a download button, and a next button. By default,
I have a form which allows to view data in a page or download

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.