I have problem with application icon badge and remote notifications. When i receive remote notification iOS set correctly badge value. If i launch application directly from remote notification (stored in notifications center), application will set badge to value 0 (to clear icon badge). After this procedure, system clear all notifications in center, so my question is how store notification in center even when i set badge value equal to 0? I want clear notifications stored in center only by clear button.
All advises are welcome.