Why won't iOS app using MKMapView compile?
Why won't iOS app using MKMapView compile?
- Subject: Why won't iOS app using MKMapView compile?
- From: G S <email@hidden>
- Date: Fri, 08 Jul 2011 05:39:11 -0700
Hi all.
I put an MKMapView in my UI and tried to declare an IBOutlet for it,
but compilation fails with this error, in MKGeometry.h:
"'isinf' was not declared in this scope"
The line it's griping about is
UIKIT_STATIC_INLINE BOOL MKMapRectIsNull(MKMapRect rect) {
return isinf(rect.origin.x) || isinf(rect.origin.y);
}
I've imported <MapKit/MapKit.h> where I declare the MKMapView, and
included MapKit.framework in the project.
Anybody know what could be wrong? Thanks!
Gavin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden