title: How to know whether app is terminated by user or iOS (after 10min background)
body: <p>How to know whether app is terminated by user or by iOS when restart app></p>
  
  <p>'By user' means "by Double-clicking Home Button and pressing - button". killed by user</p>
  
  <p>'By iOS' means "app become background running state, and iOS terminate app after 10 mins"</p>