How to know when an app has been forcefully closed by user?
<p>how could i know App was closed by user forcefully?</p>

<p>"closed by user forcefully" means when App in background and user close it..</p>

<p>how can know this?</p>

<p>Thanks...</p>

<p>i edit my question,</p>

<p>i want to maintain user log, So when user click on login or logout, i done my code over there for add log detail. but when user don't click on logout and kills app through the multitasking kill, then i can't execute logout related code. so how can i get that?
and my app is background enable...</p>
