Enabled UIBarButtonSystemItemSave not blue on iOS 7 - iphone

I have this problem with a UIBarButtonItem of type UIBarButtonSystemItemSave. On the app I'm working on, which I test on compatibility mode from xCode 4 on an iPad that has iOS 7, the colour of the UIBarButtonItem of type UIBarButtonSystemItemSave is not blue as it should.
But if I change the type to UIBarButtonSystemItemDone, the button looks normal("Done" button with blue as background colour).
Did anyone had this problem on their apps while testing their compatibility with iOS 7?

Related

How to change the background color of keypad in iOS 7

I am using Xcode 5 for developing applications. I want to change the color of keyboard in iOS 7. I want a color like black or blue.
How can I change the color of keyboard in iOS 7?
You can only set the keyboard appearance to any of three listed below using the UIKeyboardAppearance.
UIKeyboardAppearanceDefault // Corresponds to the UIKeyboardAppearanceLight
UIKeyboardAppearanceDark // Available in iOS 7.0 and later.
UIKeyboardAppearanceLight // Available in iOS 7.0 and later.
There is one more constant named UIKeyboardAppearanceAlert but, that is now deprecated. You should use UIKeyboardAppearanceDark instead.
You can't use any custom or undefined color.
So, Use ...
myTextfield.keyboardAppearance = UIKeyboardAppearanceDark;
In iOS 7, since the keyboard is translucent, I was able to accomplish this effect by adding a colored subview behind the keyboard that shows and hides with keyboard notifications.
I created a GitHub project to demonstrate this technique. Keep in mind it only works in portrait orientation right now and obviously only in iOS 7.
https://github.com/meekapps/TintedKeyboard
You can change the color with the keyboardAppearance method.
_textField.keyboardAppearance = UIKeyboardAppearanceDark;
Have a look at the Apple API docs
Per your comment of wanting a custom color:
You could do this... Just use the normal keyboard, then observe UIKeyboardWillShowNotification and UIKeyboardWillHideNotification so that you can show a color UIView behind the keyboard.
It would be hacky, but it would work because the default keyboard is transparent to a degree on iOS 7.
Good luck.

iOS 7 UI elements

My understanding of iOS 7 was that when it was running on a given device that older applications (complied for iOS 6) that use standard UIControls (UITableView, UINavigationController, etc) would automagically have the iOS 7 look.
I have an app which utilizes a UITabBarController, UINavigationController, a UITableView and some UIButtons, however none of the controls in my app have the iOS 7 look or feel.
My navigation controllers are not translucent or blurred and my back buttons are not words they are still arrow encapsulated.
Am I missing something?
Thanks for your input,
Regards,
John
If you app is compiled for iOS SDK version 6, you'll have the iOS6 components on your app, even if your phone is upgraded to iOS7.
To see the new components in your app you'll have to compile it using iOS SDK version 7, fix the warnings/errors you will find to make it work, and submit it.

Missing font text on buttons in iOS5 & iOS 5.1

Last week I uploaded an app to App Store. Some of the buttons have "Telugu Sangam MN Bold 17.0" Font. It's showing fine on iOS 6 running iPhone. But on iPhone's running with iOS 5 & iOS 5.1 the button texts are blank without any text.
What exactly I need to do to solve this? Even in the simulator's of iOS 5 & iOS 5.1 the buttons are blank without text, but in iOS 6 Simulator, everything looks good.
I just found the solution. I set the font title as "Attributed" which is not working with iOS 5 & iOS 5.1, now I changed it to "Plain", now it's working fine all versions. Thanks Guys for reply

How to develop label and textfield frame size both Xcode 4.3 and Xcode 4.5

I have developed the form in Xcode 4.5 ..
while i run the program using iPhone simulator 6.0 ,the label and textfield(more than 5 labels and textfields) is not properly aligned and the button is not shown in the simulator...
I run the same program but change the simulator hardware deveice Xcode 4 inch retina display,now its work good..
What is problem and i need the solution.
Thanks in advance.

Why are disabled UISegmentedControl segments drawn incorrectly on iOS 4.0+?

For some strange reason, on iOS 4.2.1 (and any iPhone OS after 4.0), using a UISegmentedControl as a UIBarButtonItem in a toolbar will leave disabled segments drawn incorrectly, like this:
The text is displayed in dark gray, but should resemble the disabled state of the disabled "Login" button in the upper right. I'm using a standard UISegmentedControl, not a subclass.
Is there any way to get around this bug?
UPDATE: It's definitely not supposed to look that way and is probably a regression indroduced in iOS 4.0. Here's how it looks on 3.1.3: