I have an iPhone iOS 7 app with 2 entry fields, Username and Password. The Username field ALWAYS has a Dark Appearance, whereas the Password field ALWAYS has a Light Appearance. This occurs even though I set the keyboardAppearance to a specific Light or Dark Appearance, both through Interface Builder and through code!
Any suggestions as to why or how to make it be consistent. My client doesn't like the flakiness (nor do I), but he cares!
My bad!
Was looking at the wrong XIB. It had 'Dark' for one field and 'Default' of the other.
Related
We have a client with many companies and they want each company to have their own user interface color. Makes sense. But when I go to add a new user interface color, before I do anything other than change the name of the profile, the menu screen appears completely messed up and will not allow a selection on the screen. The classic UI works fine. But of course the customer wants the new UI. Anyone else experience this or know how to fix it?
Most of Acumatica can still be customized the same way as explained in the Classic UI guides.
https://adn.acumatica.com/blog/acumatica-customization-theming-white-labeling/
http://asiablog.acumatica.com/2015/12/doing-personalized-demo.html
Here is a quick example where I changed the background color to brown by using my "Brown" theme.
As you can see, I also managed to change the Modern UI top bar color to orange. To do this, you need to create an extra css file in your Website\Content folder. Just follow the filename convention which is Site{Theme}.css
i'm facing a really strange problem: i have some UILabel in my view, which has a black background, so i set their text color to white in Interface Builder in order to see them, the problem is, when i run the app on the simulator or on my iphone with ios7 or iOS 6.1.3 i can update them without problems (for update i mean: myLabel.text = #"Something")
but when i run the app on my sister's iphone 3gs with iOS 6.0 at the moment i update them the font color turns black. It seems that on her phone the label can't remember the color set on IB.
Does anyone of you know why this happens?
Thanks
It sounds like you have set the label "type" to "Attributed" in Interface Builder.
If this is the case then it is not the label that holds the text colour. It is the text itself.
If you replace the text with something else then the default text color of black will be used.
If you want to continue using Attributed text then you need to add a "foregroundColor" attribute to the text before setting it to the label.
The easier way round this is to change the label type to "Plain" in Interface Builder.
Of course, this depends on you having set it to Attributed.
I think you shouldn't use default label color in the interface builder, just provide something else (black color or etc.).
I ran into a similar problem. Was stumping me completely, until I quit and relaunched the simulator. It wasn't enough to just close the window or rebuild. I had to cmd-q, then build and launch again. Magically fixed the issue. Annoying.. but worked for me
On a computer you can easily tab through HTML checkboxes on a website, but is there any way to make it so that on an iPhone when you hit the 'next' button it goes to a checkbox? I've noticed it'll go between text boxes and drop down menus, but it won't do it for checkboxes or clickable buttons. Is this an issue with the iPhone, or is it something I can change on my website?
Can you please be a bit more precise with your question. And if its the size of the checkbox that is a concern which makes it non tappable, then as suggested by the user interface guide of apple ios, please make the size as 44x44 to make it tappable. Well thats just a suggestible size and I believe a 25x25 size may solve your issue.
I am new to Iphone programming. I want to add a password module to my application with look and feel as iphone's "Enter Passcode". Is it possible. I earlier tried this by using four text boxes and allowing allowing to enter only one alphabet in each.
This had the problem of cursor in the text boxes. So i disabled all these, took an invisible text box. Allowed user to enter passcode in it. And copied the text in each of those disable text box on textediting event. This works as required. However the last text box of the four never displays text. Is this because i have chosen text editing event. Please help.
There's a Google Code project that has implemented this pretty nicely:
http://code.google.com/p/kpasscode/
Hope this helps!
You mean the 4 number pin pad?
I implemented something similar
xib file with 12 UIButtons 4 UILabels and 4 UIImageViews.
Is there any way I could force PSTextFieldSpecifier be read-only in iPhone Settings view?
It has auto-scaling font size, center justification and without title looks just perfect for copyright notice. The problem is that it's editable text. Even when if I would reset value each time app starts up, it's still pretty not-too-nice behaviour.
Backup plan: use two PSTitleValueSpecifiers... just not sure if copyright notice is valid, when it's spread over two bold titles and two non-bold values. But that's a different question.
if you want to display a readonly textfield you can use PSTitleValueSpecifier