iOS7 UITextField Placeholder Trickery?????
iOS7 UITextField Placeholder Trickery?????
- Subject: iOS7 UITextField Placeholder Trickery?????
- From: Dave <email@hidden>
- Date: Tue, 24 Sep 2013 18:52:48 +0100
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
On 24 Sep 2013, at 13:20, Alex Zavatone <email@hidden> wrote:
> So, what you can do is duplicate and rename the file and then pick that file as the one to use from the main window after you click on your project file in the Navigator pane for a quick test.
>
> I like that approach though. It seems we can't be too careful in this area. Sure seems safest to keep a version that you know works. Good luck and please let us know if there are any issues you might run in to that we would need to know about.
>
> Cheers.
>
>
>
> On Sep 24, 2013, at 7:52 AM, Dave wrote:
>
>>
>> On 24 Sep 2013, at 12:15, Alex Zavatone <email@hidden> wrote:
>>
>>> Just the file within the folder.
>>>
>>> But what do you want to do with this file? Localize to another language, or make a larger size, or what?
>>
>> I'm having to change this file for iOS 7 and I'm not sure if this will break on iOS < 7, so I thought I'd save the Storyboard file now and if necessary load a different file depending on the iOS version. At the moment, the changes I've made seem to work on both, but with the state of XCode and iOS 7 at the moment, I'm just hedging my bets!
>>
>> Thanks a lot
>> 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
>
_______________________________________________
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