• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Why won't iOS app using MKMapView compile?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Why won't iOS app using MKMapView compile?
      • From: "Gary L. Wade" <email@hidden>
    • Re: Why won't iOS app using MKMapView compile?
      • From: Chris Ridd <email@hidden>
  • Prev by Date: Re: getting last accessed date
  • Next by Date: Linebreaks ignored in custom cell
  • Previous by thread: Re: getting last accessed date
  • Next by thread: Re: Why won't iOS app using MKMapView compile?
  • Index(es):
    • Date
    • Thread