iOS Question App hidden on screen wake

aaronk

Well-Known Member
Licensed User
Longtime User
Hi,

Just noticed something when I wake my device from being asleep.

I have my app open on the screen (which I wrote in B4i) and while it's open and you press the power button to turn the screen off, if you then press the power button to wake the device and then unlock the device the app is closed and not visible on the screen. it's like the app auto closes while the screen is off.

Now if you do the same thing but this time use another app (not written in B4i) such as the iOS calculator app (or even the Chrome app) and while the app is showing on the screen, press the power button to put the device to sleep. Then wake the device and unlock it the app remains open on the screen just like how you left it.

Is there a trick to keep the app written in B4i open after the device being waken up?
(not a big deal if it can't but just noticed this happening)
 

tufanv

Expert
Licensed User
Longtime User
My apps are on the screen when i power off and poweronn again. Are you sure they are always closing after power off / poweron the screen.
Hi,

Just noticed something when I wake my device from being asleep.

I have my app open on the screen (which I wrote in B4i) and while it's open and you press the power button to turn the screen off, if you then press the power button to wake the device and then unlock the device the app is closed and not visible on the screen. it's like the app auto closes while the screen is off.

Now if you do the same thing but this time use another app (not written in B4i) such as the iOS calculator app (or even the Chrome app) and while the app is showing on the screen, press the power button to put the device to sleep. Then wake the device and unlock it the app remains open on the screen just like how you left it.

Is there a trick to keep the app written in B4i open after the device being waken up?
(not a big deal if it can't but just noticed this happening)
 
Upvote 0

moster67

Expert
Licensed User
Longtime User
Yes, I noted that too but only recently (they seem to go into background mode).
 
Upvote 0

moster67

Expert
Licensed User
Longtime User
I use iPhone6 with iOS 9.2 and B4i 2.31
I have recently also done the following change in the B4i setup:
https://www.b4x.com/android/forum/threads/main-o-and-itunes-connect.59959/page-2#post-381545

I often see the following (using iReleaseLogger) message:

** -[UIApplication _handleNonLaunchSpecificActions:forScene:withTransitionConte
xt:completion:] ** unhandled action -> <FBSSceneSnapshotAction: 0x124da7b70> {
handler = remote;
info = <BSSettings: 0x124da8420> {
(1) = 5;
};
}

I found threads on SO which talks about it:
http://stackoverflow.com/questions/32344082/error-handlenonlaunchspecificactions-in-ios9
http://stackoverflow.com/questions/...handled-action-handlenonlaunchspecificactions

Unsure if it is related.....
 
Upvote 0

moster67

Expert
Licensed User
Longtime User
I am running my app in release mode and it happens to my current app I am developing too...
Cannot test in this moment other apps of mine.
 
Upvote 0

moster67

Expert
Licensed User
Longtime User
I got this behavior because I was using iOS Release logger in my code. Once I removed it, the problem was resolved.
 
Upvote 0
Top