Locator - student project

I would like to create an app which allows an iphone to find another iphone within a defined area.

I also want the app to run in the background so that when you enter a certain area it will give you a push notifiction via geofencing.