An example of iOS daemon