• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UIButton issue in ios7.1/xcode5.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UIButton issue in ios7.1/xcode5.1


  • Subject: Re: UIButton issue in ios7.1/xcode5.1
  • From: Alex Kac <email@hidden>
  • Date: Thu, 20 Mar 2014 13:42:16 -0600

Correct. We have a RADAR and a test project showing this same problem.

The problem occurs only on iOS 7.1 and only when using the 7.1 SDK. My guess is that its an optimization gone bad. I’ve re-read the docs multiple times and

1) I think you are correct.
2) The workaround I use is ugly - I just loop through my buttons and set their selected and normal text to be the same.
3) Because iOS checks against what SDK you built against and uses different behaviors depending.

On Mar 20, 2014, at 1:19 PM, David Brittain <email@hidden> wrote:

> I am seeing an issue in our app where setTitle:forState: is not
> working when a UIButton is in the selected state (the same happens
> with setImage:forState:). Specifically I am calling:

…

> So, a few questions:
> - am I correct that I should not have to call  [self.button
> setTitle:@"New name" forState:UIControlStateSelected];
> - any suggestions for workarounds?
> - any ideas how this could happen when building with xcode 5.1 but not
> xcode 5.0?
>

Alex Kac - President and Founder
Web Information Solutions, Inc.

"Forgiveness is not an occasional act: it is a permanent attitude."
-- Dr. Martin Luther King





_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >UIButton issue in ios7.1/xcode5.1 (From: David Brittain <email@hidden>)

  • Prev by Date: UIButton issue in ios7.1/xcode5.1
  • Next by Date: Getting a serial queue when asking for a concurrent one
  • Previous by thread: UIButton issue in ios7.1/xcode5.1
  • Next by thread: Getting a serial queue when asking for a concurrent one
  • Index(es):
    • Date
    • Thread