SB still open after EXIT

smbstarv
Posts: 98
Joined: Wed Nov 27, 2013 3:44 pm
My devices: Ipad 6th gen
Flag: Netherlands
Contact:

SB still open after EXIT

Post 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

User avatar
Фант
Posts: 1363
Joined: Sat Nov 30, 2013 10:01 am
My devices: iPad 4 (iOS 9.3), iMac (MAC OS 11.03)
Location: Россия,Санкт-Петербург
Flag: Russia
Contact:

Re: SB still open after EXIT

Post by Фант »

Да. И не плохо было бы еще и открытые страницы сафари закрывать :D а то весь сафари в страницах sB)

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: SB still open after EXIT

Post 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 :?

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: SB still open after EXIT

Post by Mr. Kibernetik »

Фант wrote:Да. И не плохо было бы еще и открытые страницы сафари закрывать :D а то весь сафари в страницах sB)
И экран чтобы сам протирался, а то вечно весь заляпан... :lol:

User avatar
Фант
Posts: 1363
Joined: Sat Nov 30, 2013 10:01 am
My devices: iPad 4 (iOS 9.3), iMac (MAC OS 11.03)
Location: Россия,Санкт-Петербург
Flag: Russia
Contact:

Re: SB still open after EXIT

Post by Фант »

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

User avatar
atikin
Posts: 77
Joined: Fri Sep 12, 2014 6:54 pm
My devices: iPad air, iPhone 4S
Location: Санкт-Петербург | Saint-Petersburg
Flag: Russia

Re: SB still open after EXIT

Post 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 :?
Некоторые программы используют спец-баг для этого, типа нажимаешь на кнопку выход и программа вылетает из-за ошибки
_____________________________________________________________________________
Как сделать движок для виз. новелл за три дня в smart BASIC (часть 1)

basiccode
Posts: 100
Joined: Wed Feb 12, 2014 12:21 pm

Re: SB still open after EXIT

Post 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.

basiccode
Posts: 100
Joined: Wed Feb 12, 2014 12:21 pm

Re: SB still open after EXIT

Post 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.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: SB still open after EXIT

Post 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.

basiccode
Posts: 100
Joined: Wed Feb 12, 2014 12:21 pm

Re: SB still open after EXIT

Post 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.

Post Reply