after read some of your comments in other post about background/foreground task, I need to view the returned values when my app comes back from background to foreground. The problem is when I send the app to background (clicking home button on the iphone, or clicking Simulate Background Fetch on XCODE->Debug) the xcode stops the running (including the log). So, I can't continue showing NSLog messages.
I don't know If I explained me well.
Mine does not stop to debug, it still continues when it goes to background(clicking home button) and comes to foreground when clicked in app icon. I think this should be default setting but if its not happening in yours then try this
Steps
Select your project's target
Select info tab
Under the custom iOS target properties, if you can see the key named "Application does not run in background" then set is value to NO otherwise do Step 4.
ADD a key= "Application does not run in background", type= "bolean", value= "NO"
Run your project

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With