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

  • Home
  • SEARCH
  • 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 6665829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:45:52+00:00 2026-05-26T02:45:52+00:00

Update I too am experiencing the same issue, calls to +animateWithDuration:animations:completion: work fine on

  • 0

Update

I too am experiencing the same issue, calls to +animateWithDuration:animations:completion: work fine on the device but crash on the simulator.

[UIView animateWithDuration:0.5 
                 animations:^{
                     NSLog(@"Begin");
                 }
                 completion:^(BOOL finished){
                     NSLog(@"End");
                 }];

As you can see I am not accessing any other objects and it will still crash with EXC_BAD_ACCESS.

Update 2

It seems to only crash if you pass a block in completion: passing NULL works fine.

[UIView animateWithDuration:0.5 
                 animations:^{
                     NSLog(@"Begin");
                 }
                 completion:NULL];

Original Question

I’ve been using the phone for development mostly because I was using a library that was not compiled for Intel but have now switched back to the simulator to speed things up.

I’m getting consistient crashes when I use UIView animateWithDuration and have had to comment them out temporarily in my code. They work fine on the phone. I’m on the latest SDK 4.3.1 (almost) and compiling for 4.0 onwards.

Any ideas why this is crashing?

    [UIView animateWithDuration:0.5 animations:^ {
    mapTableOverlay.alpha = 0.8;} completion:^(BOOL finished){}];

Getting EXC_BAD_ACCESS when the line above is called. Thanks for help….

  • 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-05-26T02:45:53+00:00Added an answer on May 26, 2026 at 2:45 am

    This isn’t exactly an answer, though it does outline what caused the problem, & what might alleviate it – I had exactly the same problem, all of a sudden any UIView animateWithDuration would crash, even if no objects were passed and even without the block on completion. It started when I added the Urban Airship libraries & associated frameworks (libUAirship-1.1.0.a, FNetwork.framework, MobileCoreServices.framework, Security.framework, SystemConfiguration.framework, libz.dylib, libsqlite3.dylib, CoreTelephony.framework, StoreKit.framework) and promptly stopped when I got rid of them again. I know it’s nothing to do with the sqlite lib & the storeKit framework cos I’m using them now, but I never tracked it down properly. I’d be grateful for a more thorough answer too!

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

Sidebar

Related Questions

Update: Last night, I decided that this is just too much work to change
I am creating some RSS using Yahoo! Pipes, but the update interval is too
Update: fixed delta calculations in code, still the issue remains Folks, could you please
Update: here is an MSDN article How to: Make Thread-Safe Calls to Windows Forms
I have a Mysql update statement and it's running too long - 52 sec
* UPDATE: *I've already answered my question. But you can still give me advise
Update: Solved, with code I got it working, see my answer below for the
Update: Check out this follow-up question: Gem Update on Windows - is it broken?
Update: giving a much more thorough example. The first two solutions offered were right
UPDATE: Focus your answers on hardware solutions please. What hardware/tools/add-in are you using to

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.