Error: CLLocationManager headingAvailable
<p>I have the following code:</p>

<p>In my .h-Header-File:</p>

<pre><code>#import &lt;UIKit/UIKit.h&gt;
#import &lt;CoreLocation/CoreLocation.h&gt;
@interface Compass : UIViewController &lt;CLLocationManagerDelegate&gt; {
[...]
    CLLocationManager *locationManager;
}
[...]
@property(nonatomic, retain) CLLocationManager *locationManager;
@end
</code></pre>

<p>And my .m-File:</p>

<pre><code>#import "[FILENAME].h"

[...]
@synthesize locationManager;

- (void)viewDidLoad {
[super viewDidLoad];

self.locationManager = [[[CLLocationManager alloc] init] autorelease];
if(locationManager.headingAvailable == NO) {
        [...]
    }
[...]
}
</code></pre>

<p>And I get the following error Message for "locationManager.headingAvailable":
    error:request for member 'headingAvailable' in something not a structure or union</p>

<p>I've added the CoreLocation framework to my app...
Who can help me?</p>
