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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:52:48+00:00 2026-06-16T03:52:48+00:00

This is an IOS6 question. I have an app that is calling a class

  • 0

This is an IOS6 question.

I have an app that is calling a class (A) to check something. Then I want to call a class (B) to do something else
Is it possible to make sure process B doesn’t start before process A finishes?

At the moment, I just call one after the other in the RootVC.

Each is showing a modal view, and I only get to see B ..

[self performA];
[self performB];

Thanks

  • 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-16T03:52:49+00:00Added an answer on June 16, 2026 at 3:52 am

    There are several tools for managing the order of execution of parts of your application available to you. However since you are presenting view controllers you have a couple of constraints; you don’t want to block the main thread (or else the app will become unresponsive) and you must perform UI actions on the main thread.

    In this case the most common, and probably most appropriate, solution is to setup a callback to trigger action B when action A finishes.

    The modal view controller presented as part of A might call a delegate when it has finished its task successfully. That delegate can then begin task B.

    Alternately you might pass a block to A which A will execute when it finishes. That block can then perform task B.

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

Sidebar

Related Questions

I have narrowed this down to only IOS6 devices. Original Question: I have searched
I have a question about iOS 6 Orientation.Here is my file https://www.dropbox.com/s/f8q9tghdutge2nu/Orientations_iOS6.zip In this
this question is only one part of my problem. I am implementing iOS6 rotation
Yeah. Sounds weird. I have a PhoneGap 2.1.0 app running on iOS6 (iPhone5), and
This is an old app that's been submitted many times without problems. I've modified
I have created an iOS 5/iOS 6 app with a display that responds to
So I have this strange issue with one of our apps. Our app became
I'm wondering if there's anyone else out there that has come across this problem
I know it's possible to link directly to the Gift This App page in
This is a normalization thing, but I want I have to hold information about

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.