Ok, here is how my app used to look like in iOS 7.0:
Now in iOS 7.1 for some reason it looks like this:
As you can see instead of white blurred background (the greeninsh thing is actually a green UITextField
underneath) it is now gray blurred background - if you look closely the green is still visible.
After a lot of experimenting I found out that this is because of a gray layer that is beneath the UIPickerView
. Here is the result when I set the hidden property of the UIPickerView
to YES:
The code is pretty simple:
_swimlanePicker = [[UIPickerView alloc] initWithFrame:CGRectZero];
_swimlanePicker.delegate = self;
_swimlanePicker.dataSource = self;
[_swimlanePicker setShowsSelectionIndicator:YES];
_swimlaneTextField.inputView = _swimlanePicker;
Do you have any ideas how can I hide (or change the color/transparency of) this gray layer? I liked the old look and want to achieve it in iOS 7.1 too.