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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T12:02:45+00:00 2026-06-08T12:02:45+00:00

Using XCode 4.4 and Mountain Lion, I have a UIImageView, and on that view,

  • 0

Using XCode 4.4 and Mountain Lion,

I have a UIImageView, and on that view, I have a UIProgressView and a UIButton. When the app starts, the progress view and button are both hidden, as set in the storyboard. I then try to unhide them, first the progress bar when I’m doing something, and then the button when I’m done. I have called, for both items,

[self.view bringSubviewToFront:saveToCameraRoll];

to try to put them in front of the UIView.

Problem is, when I programmatically try to unhide them, it doesn’t work. I can call:

progressBar.hidden = NO;
[self.view bringSubviewToFront:progressBar];

And that does nothing.

So then I tried to set everything as visibile in the storyboard and then programmatically set everything to be invisible once the controller loads. No deal; now my calls to hidden = YES seem to be ignored.

I then removed all actual programming, so that hitting buttons should just cause the button and progress bar to appear, reasoning that maybe the main thread was getting starved and couldn’t update.

How can I force elements to pay attention to being hidden?

EDIT: I’ve now also tried programmatically modifying the alpha from 1 to 0. No change. It’s like everything I’m doing is getting ignored. I made these items via the ctrl-drag method into the @interface section of the .m file; maybe I don’t have some more delegates or interfaces or whatever hooked up?

  • 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-08T12:02:47+00:00Added an answer on June 8, 2026 at 12:02 pm

    Is it possible the outlets are nil because they aren’t hooked up in IB? If so, no amount of manipulation will have an effect.

    Try NSLog(@"%@", saveToCameraRoll);

    Is it null? Fix by reconnecting outlets in IB. If that works, then .hidden = NO will work and you can get rid of any code you added to manipulate the view hierarchy.

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

Sidebar

Related Questions

Using Xcode I have View A that navigates to View B. Upon pressing the
We have an app we are designing using iOS 5 storyboards (Xcode 4.4, Mountain
Currently using Xcode 4.2 and I have two view controllers (1 and 2). I
I am using Xcode to create an Objective-C, cocoa, mac app. I have a
Using Xcode 4.3.2, starting a brand new Single View App, in ViewController's - (void)viewDidLoad
Im using Xcode 4.1 lion release. My app was rejected because it only works
I am using Xcode 4.4 with mountain lion. I can't seems to understand why
I'm using Mountain Lion with Xcode 4.1. When I open an XIB or compile
I am using xcode 4, Compiler version LLVM GCC 4.2. I have been trying
I'm using Xcode 4.3 and I have followed this user's steps to create the

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.