• 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: Will this get my iOS app rejected???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Will this get my iOS app rejected???


  • Subject: Re: Will this get my iOS app rejected???
  • From: Steve Christensen <email@hidden>
  • Date: Fri, 27 Sep 2013 06:59:07 -0700

I just looked at some UITextFields with placeholder text, both on a device and in the simulator, and it was dim but readable.

If you're hot to change the look then I don't recommend using -setValue:forKeyPath:. I don't know that it will get your app rejected but at the very least it's a fragile solution since you're depending on the naming of private ivars. (And they're especially private since they're not even listed in the header file.) A more maintainable solution would be to subclass UITextField and override -drawPlaceholderInRect:.


On Sep 27, 2013, at 4:43 AM, Dave <email@hidden> wrote:

> Hi,
>
> Has anyone else noticed that Placeholder text in UITextFields's is very dim in iOS7? It looks ok in iOS 6, but in 7 it can hardly be seen?
>
> I found this hack:
>
> [self.pNameTextField setValue:[UIColor blackColor] forKeyPath:@"_placeholderLabel.textColor"];
>
> Which seems to work, but it is still washed out looking, but it should do?
>
> is there a better way of doing this then the above code? Or better still am I missing something that makes Placeholder or UITextField's different in iOS 7?
>
> Thanks a lot
>
> All the Best
> Dave


_______________________________________________

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


  • Follow-Ups:
    • Re: Will this get my iOS app rejected???
      • From: email@hidden
References: 
 >Will this get my iOS app rejected??? (From: Dave <email@hidden>)

  • Prev by Date: Updating provisioning profiles xCode 5
  • Next by Date: Re: Will this get my iOS app rejected???
  • Previous by thread: Will this get my iOS app rejected???
  • Next by thread: Re: Will this get my iOS app rejected???
  • Index(es):
    • Date
    • Thread