Let's assume you have two points, both consisting of Latitude and Longitude, or X, Y. Assuming the user is facing north, this could be done as follows:
//Make sure you import math.h
CGPoint currentLocation = CGPointMake(100.2, 55.53);
CGPoint pin = CGPointMake(125.54, 40.23);
//Shift the 2D space to have the currentLocation as the origin
pin.x -= currentLocation.x;
pin.y -= currentLocation.y;
//Calculate the inverse tangent (in radians)
float rad = atan(pin.y/pin.x);
//Convert the radians to degrees
float deg = rad * 180/M_PI;