Page 1 of 2

SB still open after EXIT

Posted: Mon Oct 20, 2014 2:26 pm
by smbstarv
Hi, Mr Kibernetik. Thank you for all the extra's in 4.3. I now successfully start my coded program from a desktop icon. And using the new EXIT statement I neatly return to the same desktop-screen.
So far everything ok.
But then the safari-app and the SB-app still remain open. Both have to be closed down manually.
Is there a way to avoid this ?
Thank you

Re: SB still open after EXIT

Posted: Mon Oct 20, 2014 2:37 pm
by Фант
Да. И не плохо было бы еще и открытые страницы сафари закрывать :D а то весь сафари в страницах sB)

Re: SB still open after EXIT

Posted: Mon Oct 20, 2014 2:53 pm
by Mr. Kibernetik
It is not possible to remove smart BASIC from memory programmatically.
Actually even exiting application without pressing "Home" button is against Apple rules :?

Re: SB still open after EXIT

Posted: Mon Oct 20, 2014 2:55 pm
by Mr. Kibernetik
Фант wrote:Да. И не плохо было бы еще и открытые страницы сафари закрывать :D а то весь сафари в страницах sB)
И экран чтобы сам протирался, а то вечно весь заляпан... :lol:

Re: SB still open after EXIT

Posted: Mon Oct 20, 2014 3:14 pm
by Фант
Mr. Kibernetik wrote:
Фант wrote:Да. И не плохо было бы еще и открытые страницы сафари закрывать :D а то весь сафари в страницах sB)
И экран чтобы сам протирался, а то вечно весь заляпан... :lol:
Ну для экрана жена есть :lol:

Re: SB still open after EXIT

Posted: Tue Nov 25, 2014 3:53 pm
by atikin
Mr. Kibernetik wrote:It is not possible to remove smart BASIC from memory programmatically.
Actually even exiting application without pressing "Home" button is against Apple rules :?
Некоторые программы используют спец-баг для этого, типа нажимаешь на кнопку выход и программа вылетает из-за ошибки

Re: SB still open after EXIT

Posted: Wed Nov 26, 2014 3:08 am
by basiccode
Apple just advices you should never exit your apps abruptly. In other words it's a crap user experience to have an app just exit. It should be ok for your app to properly implement that feature for the reasons we been talking about in this forum.

I will let you know if I find more confirming info on the issue Mr Kibernetik.

Re: SB still open after EXIT

Posted: Mon Dec 01, 2014 5:59 am
by basiccode
Hello again. There is an apple app called newsstand that behaves in the manner we spoke about here.
If you run newsstand then press the home button so it exits then double press the home button to reveal all running apps you will see newsstand is not running , it is as if newsstand just exited properly after pressing the home button once.

Re: SB still open after EXIT

Posted: Mon Dec 01, 2014 6:05 am
by Mr. Kibernetik
basiccode wrote:Hello again. There is an apple app called newsstand that behaves in the manner we spoke about here.
If you run newsstand then press the home button so it exits then double press the home button to reveal all running apps you will see newsstand is not running , it is as if newsstand just exited properly after pressing the home button once.
Ok. If you will encounter any info how this termination can be achieved, please let me know.

Re: SB still open after EXIT

Posted: Mon Dec 01, 2014 7:21 am
by basiccode
Yes,
The user pressing the home button is still considered the users decision to exit which is consistent to what you said. either way I will let you know.