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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:25:16+00:00 2026-05-26T03:25:16+00:00

My app needs to save an image to disk. I do this in a

  • 0

My app needs to save an image to disk. I do this in a separate thread, so the UI is still responsive, BUT, I do not want the user to add a new image until the first one is saved (about 1 second.)

At the moment, I’m disabling the ‘take another picture’ button and greying it out, but I’m wondering if there is a method that will disable the whole view, greying out the buttons and darkening the background, like what happens when a UIActionSheet is presented.

I’ve looked through the UIView docs and don’t see anything like this, but it seems like such a useful pattern that is frequently used by Apple that I figured I’d ask, just in case there was such a thing.

Obviously I could do it manually, but why reinvent the wheel if its already part of the API.

TIA: John

  • 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-26T03:25:16+00:00Added an answer on May 26, 2026 at 3:25 am

    set whatever view (main view, subview, etc.) you want to appear disabled to

    view.userInteractionEnabled = NO 
    

    and also

    view.alpha = 0.3f
    

    and maybe even

    view.backgroundColor = [UIColor grayColor]
    

    to boot. These last two can be animated, b.t.w.

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

Sidebar

Related Questions

I'm working on a photo app that needs to save images with user specified
I have a client app that needs to save a username/password for an SMTP
My app needs to play some audio files and I want to fade-out the
My current app needs to store address information for a user. I'm currently debating
Our web app needs to be made PCI compliant, i.e. it must not store
i am use this code to upload image ..this code save uploads url into
I have camera preview on my android app but when I add an 'id'
I want to create a WebView to display an image. But on the second/third
This has been asked many times. But most answers are not applicable to the
In my iPhone app, I want the user to be able to take a

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.