Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Which event is called during the deploy iOS apps?
Started by mogan Jul 29 2013 12:04 PM

2 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

mogan

[GLOBAL: userInfoPane.html]
mogan
  • Observer

  • 9 posts
  • Corona SDK

Which event is called during the roll out apps?

 

In objective c with event name:

 

applicationWillEnterForeground

 

I want set badge = 0 (native.setProperty( "applicationIconBadgeNumber", 0 )) for app when it roll out, but i do not know how it make.



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,263 posts
  • Enterprise

With Corona SDK, you setup a system event listener on the Runtime and during certain events, like suspend, resume you get notified.  See:

 

http://docs.coronalabs.com/api/event/system/type.html



[TOPIC: post.html]
#3

mogan

[GLOBAL: userInfoPane.html]
mogan
  • Observer

  • 9 posts
  • Corona SDK


[topic_controls]
[/topic_controls]