i solve it by using
system("killall -9 AppName");
like this
case FSSwitchStateOn:
[mutableDict setValue:@YES forKey:kSwitchKey];
system("killall -9 AppName");
break;
case FSSwitchStateOff:
[mutableDict setValue:@NO forKey:kSwitchKey];
system("killall -9 AppName");
break;
Cheers!