In my main code(in order to show UIActivityIndicatorView) I'm calling a function, foo() on a background thread. What happens to the functions called by foo() in turn? Will those functions also be called and executed in the same background thread?
calling a function on a background thread ios-what happens to the nested function calls
1.5k views Asked by Namratha At
1
There are 1 answers
Related Questions in IOS
- URLSession requesting JSON array from server not working
- Incorrect display of LinearGradientBrush in IOS
- Module not found when building flutter app for IOS
- How to share metadata of an audio url file to a WhatsApp conversation with friends
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- Expo Deep linking on iOS is not working (because of Google sign-in?)
- On iOS, the keyboard does not offer a 6-character SMS code
- Hi, there is an error happened when I build my flutter app, after I'm installing firebase packages occurs that error
- The copy/paste functionalities don't work only on iOS in the Flutter app
- Hide LiveActivityIntent Button from Shortcuts App
- While Running Github Actions Pipeline: No Signing Certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID
- Actionable notification api call not working in background
- Accessibility : Full keyboard access with scroll view in swiftui
- There is a problem with the request entity - You are not allowed to create 'iOS' profile with App ID 'XXXX'
- I am getting "binding has not yet been initialized" error when trying to connect firebase with flutter
Related Questions in FUNCTION
- Dynamic array of structures in C++/ cannot fill a dynamic array of doubles in structure from dynamic array of structures
- Function is returning undefined but should be returning a matched object from array in JavaScript
- How do you import functions from one page to another in Jetpack Compose?
- Adding Modules to a Namespace using IIFE
- How to convert mathematical expression to lambda function in C++?
- Custom Bash functions & custom statements - Need some advice
- Why my code is working on everything except one instance?
- Getting a function to call an equation
- Create Symbolic Function from Double Vector MATLAB
- Recursive calls to function passed as a parameter of another method via Consumer interface
- How can I replace a word in SQL but only if it is the last word in the string for a scalar-valued function?
- iterating through raster bands to perform calculation
- How to make this sensor keep taking readings once its when_in_range function has been activated?
- TypeError: indice_delete() takes 0 positional arguments but 3 were given
- How to modify HTML in WordPress core file
Related Questions in UIACTIVITYINDICATORVIEW
- Why does UIActivityIndicatorView only animate the first time it is visible?
- How to disable user interaction for view in SwiftUI?
- Alert + ProgressView (Activity Indicator) in SwiftUI
- Protocol reusable Spinner one liner progressview
- How can I add an ActivtyIndicator to this WebView that shows when a website is loading?
- How do I center a UIActivityIndicatorView programmatically in Swift?
- Activity indicator not showing in pagination for tableview in Swift
- How to make my own Loading Screen Indicator in flutter?
- Activity Indicator Showing on Tab 1 as well as Tab 2 ( I only want it to be displayed on tab 2 - when tab 2 is loading)
- Not able to hide ARSLineProgress in iOS 15
- How Do I Fix My Activity Indicator From Not Appearing/Freezing?
- trigger an api again once network goes off in RxSwift
- Cannot display UIActivityIndicatorView
- Swift - How to show a UIActivityIndicatorView at the same location without shifting to the right?
- UIActivityIndicatorView is not spinning in the share app extension
Related Questions in BACKGROUND-THREAD
- Swift scheduled timer method isn't called after time interval
- Error when user enable camera permission : java.lang.IllegalStateException: Method setCurrentState must be called on the main thread
- .NET 6.0 PeriodicTimer in Background Thread 300% cpu
- restart circularCountDowntimer when app is in background flutter
- How to use RxJava / RxAndroid in Android to make slow network call and update the UI?
- Run RxWorker on background thread
- Event on view rendering finished
- React Native : want to run a function from app, and it would be not stop if app in background or foreground state
- Fetching remote data with core data background context
- Publish background context Core Data changes in a SwiftUI view without blocking the UI
- Xamarin Android Background Thread push main thread to foreground?
- Background threading for longer tasks
- Background threading assistance needed
- How to fetch data with CoreData in the background?
- Cancel a task that running on thread in ASP.NET MVC using C#
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Yes, it will also be called in that same background thread.
It's actually pretty easy: everything you call will be run in the same thread as the caller, unless you explicitly use methods to create a new thread and run a method there or cause a method to be run in another thread (e.g.
performSelectorOnMainThread:withObject:waitUntilDone:). But from those methods on it's the same again: they will be run in the very same thread as their callers.