Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9251275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:39:18+00:00 2026-06-18T10:39:18+00:00

I must do something wrong, I have code as following: [_mapView setRegion:region animated:YES]; The

  • 0

I must do something wrong, I have code as following:

[_mapView setRegion:region animated:YES]; 

The app crashes in 5.0, 5.1 and 6.1 Simulator when I set a very large region to it.

the region is center at

  • lat: 39.0055301546386
  • lon: -96.8836582904965
  • span: lat 75382.1245843343 lon 96613.0758612126

Then I changed the code to

[_mapView setRegion:[_mapView regionThatFits:region] animated:YES];

The code works for OS 5.0, 5.1 but still crashes on OS 6.1.

Any idea?

* Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘Invalid Region ‘
*
First throw call stack:
(0x2570012 0x206ee7e 0x25f8fb1 0x1f8078d 0xab41f 0xc8a1c7 0xc8a232 0xc8a4da 0xca18e5 0xca19cb 0xca1c76 0xca1d71 0xca289b 0xca2e93 0xca2a88 0xffee63 0xff0b99 0xc8add2 0x91456 0xd7f23 0x2082705 0xbac2c0 0xbac258 0xc6d021 0xc6d57f 0xc6c6e8 0xe701d3 0x2538afe 0x2538a3d 0x25167c2 0x2515f44 0x2515e1b 0x2c227e3 0x2c22668 0xba8ffc 0x4c2fd 0x2725 0x1)
libc++abi.dylib: terminate called throwing an exception

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T10:39:20+00:00Added an answer on June 18, 2026 at 10:39 am

    I suspect that the region “span” of 75382.1245843343 by 96613.0758612126 degrees is what’s throwing up the problem. That region would cover a world with a circumference of over 8 million kilometres – rather larger than our own. Try using a smaller span that actually defines a region on the Earth?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I must have done something wrong. I have a C# project in Visual Studio
Something must be wrong with this code right here: + (UIImage*)captureView:(UIView *)theView { UIGraphicsBeginImageContext(theView.frame.size);
Say you have the following code block: if (Light.On) { // do something... }
There must be something wrong. I don't know what? see this on jsfiddle .
I must be doing something wrong here. I'm trying to use Google Analytics to
I must be doing something wrong here (because really, what are the chances of
I'm facing a apparently very strange problem (I must be doing something wrong, just
I have the following code snippet from a HTML file: <div id=rwImages_hidden style=display:none;> <img
There must be something obvious that I'm doing wrong, but I'm not seeing it.
I have the following Perl code: package CustomerCredit; #!/usr/local/bin/perl use 5.010; use strict; my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.