ios - method to set badge

set integer