close an app

Get help using Construct 2

Post » Wed Aug 07, 2013 9:56 am

@Sulli,

As @EncryptedCow & @Hoyer pointed out, this is not normally the way iOS apps handle closing.

If you find other situations where the "Browser -> close" option doesn't work for you. The "Browser" object also has an "Execute JavaScript" action. So you could use the "window.close();" command instead.

Hope that helps :)
B
33
S
6
G
7
Posts: 494
Reputation: 8,252

Post » Wed Aug 07, 2013 11:02 am

@Blacksmith thanks that does! Didn't realise "browser" was valid for things exported through cocoon cloud service! Thanks!
B
20
S
7
G
4
Posts: 322
Reputation: 4,521

Post » Wed Aug 07, 2013 12:32 pm

@Sulli, no problem!

Yeah, Cocoon used to have issues with the Browser object, but they've supported it successfully for a while now!Blacksmith2013-08-07 12:33:52
B
33
S
6
G
7
Posts: 494
Reputation: 8,252

Post » Wed Aug 07, 2013 1:30 pm

@Blacksmith

Without hijacking this thread too much :-D...

What kind of JavaScript things could you punch into that command option?
(I know little JavaScript.. but interested in what you could get out of it.)
B
20
S
7
G
4
Posts: 322
Reputation: 4,521

Post » Wed Aug 07, 2013 1:51 pm

@Sulli

Sorry, I haven't used the action that much myself, so not really sure of its full capabilities.

Perhaps someone else may be able to enlighten us both ;)
B
33
S
6
G
7
Posts: 494
Reputation: 8,252

Previous

Return to How do I....?

Who is online

Users browsing this forum: CJacobsSA and 3 guests