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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T17:11:36+00:00 2026-06-11T17:11:36+00:00

Recently upgraded to XCode 4.5 I have a screen that’s had 2 UIStepper controls

  • 0

Recently upgraded to XCode 4.5
I have a screen that’s had 2 UIStepper controls on it for quite some time and all of a sudden they’re appearing at twice the size that they should. Upon further testing, the same problem occurs when I add a UIStepper to any screen on my app. It appears fine on the StoryBoard but jumps to 2x when the app is run, both on the Device and in the Simulator. I tried manually setting the frame in viewWillAppear and that didn’t fix it.

I created a new single view project to test adding just a UIStepper to the app and it works just fine there. I also tried copying/pasting the working UIStepper to my real app and it still appeared zoomed to 2x. Please 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-06-11T17:11:37+00:00Added an answer on June 11, 2026 at 5:11 pm

    I just found the line of code that causes the problem:

    [[UIButton appearance] setBackgroundImage:imgBtn forState:UIControlStateNormal];
    

    UIStepper is not a subclass of UIButton, but I’m guessing it uses two UIButtons internally.
    This must be a change with iOS6, as this code didn’t effect UISteppers in iOS5.

    Was able to resolve this by clearing the image from all UISteppers using it’s appearance property:

    [[UIStepper appearance] setBackgroundImage:nil forState:UIControlStateNormal];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently upgraded to Xcode 4 and I've found that an app which
I've recently upgraded my Xcode version and have been having huge trouble trying to
I have a project that has existed for quite a while, and I recently
I recently upgraded Xcode to start ios5 development, but for some reason I encounter
I upgraded to XCode 4.2 recently and noticed that in the comment section of
I have an app that I developed with Xcode 3 and recently started editing
Xcode 3 had templates for building Cocoa subclasses in Python. I've recently upgraded to
I have recently upgraded to Xcode 4.2 and its started to give me so
I recently upgraded to XCode 4 and adjusting. I have a folder called Unused
I recently upgraded xcode to 4.2.1 (with macOS 10.7.3). I have two iphone which

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.