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 8448303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T10:23:25+00:00 2026-06-10T10:23:25+00:00

On the tap of a button I am loading in a UIViewController from my

  • 0

On the tap of a button I am loading in a UIViewController from my storyboard using the following code…

InfoViewController *dst = [self.storyboard instantiateViewControllerWithIdentifier:@"InfoViewIdentifier"];
[self.view insertSubview:dst.view atIndex:0];
dst.view.frame = CGRectMake(0, 480, 320, 480);

[UIView beginAnimations: @"infoAnimation" context: nil];
[UIView animateWithDuration: 1.0f animations: ^{dst.view.frame = CGRectMake(0, 0, 320, 480);}];
[UIView commitAnimations];

Everything loads fine. The resulting view has a few buttons on it with simple actions (dismissing the view, opening URLs in safari, etc.) and as soon as I tap any of them, I receive an exception. The odd thing is, it might throw one of 2 exceptions…

  • Thread 1: EXC_BAD_ACCESS (code=1, address=…) – shown with the app still running in an exception break point.
  • Missing proxy for identifier UpstreamPlaceholder-2 – shown in log

I have also tried this with custom segues and I have the same result.

EDIT:

After more testing, it appears to be throwing the bad access error randomly (most of the time, 80%+). If that exception is not thrown, the link opening in safari works, but the link to dismiss the view throws the proxy identifier error.

Any help would be greatly appreciated.

  • 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-10T10:23:26+00:00Added an answer on June 10, 2026 at 10:23 am

    Ok, so total noob issue here. The issue was related to the use of a local variable within the method. ARC was killing the view in memory most of the time (my 80% reference). I moved the dst variable into my header file and everything works as expected.

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

Sidebar

Related Questions

when i tap a button in web view which is connected to action-stop loading
i am able to see the view but im unable to see/tap the button
In my app project I want to be able to tap a button, wait
I have a button that when i tap on it i want to invoke
I'm using a tap gesture recognizer to position a little subview with a label
I am trying to make a UIImageView move when I tap a button. I
So I'm working through the code in this tutorial which has a small button
I am creating a project with Xcode 4.2 and using it's storyboard. In one
i need to know what key code of Command button in mac keyboard, do
I have a UITableView and each cell contains a Map button. When I tap

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.