I have a dark background in my application. When the keyboard comes on screen it creates a stroke around the view that contains the UITextField or UITextView. Is this a bug? Does anyone know of a workaround?
In the picture attached you'll see a white stroke going around the view under the top bar.
Related
I currently have the bottom safe area's color set as blue by setting the view's background color as UIColor.blue
However, the problem is when the keyboard comes up as a first responder, I still get a slight tint of that blue coming through from that background. Is there a way to make this translucent keyboard not happen?
I set a transparent image to a UISearchBar in order to show the background of the view behind it. For some reason it caused a strange truncated blue border to appear on the text field.
Here is how it looks:
Any idea from where did it come from? Any way of removing it?
It is not difficult to change the background color of the table view and every single cell. The difficult part is to animate this change with a sliding effect. As the dark color slides from the top of the screen to the bottom, you also have to coordinate the color change of the navigation bar and tab bar. Any ideas possible solutions?
I'm using a PageViewController to swipe through a series of daily ViewControllers for a week.
The UIViewController that contains the pageViewController contains a few navigation items that do not scroll with the pageViewController. These stay stationary as you swipe. One of these items is a UIImageView, more specifically a UIButton with an UIImageView image representation.
The trouble I'm having is that this stationary UIImageView has a thin white border to it when it should not. I'm giving it a rounded appearance by using rounded corners that are the size of the image. It is easiest seen in this photo. Note, the white "halo" is not part of the image, it appears for any image. The borderColor, imageBackground, view background, and parent view backgrounds are all clearColor. The red background below is part of the swipeable viewController. Interestingly, the white border only appears when it is stationary. If the image/button is placed in the swipeable View it looks great.
Any thoughts how I can get rid of this white antialiasing?
I changed the button's image from using the backgroundImage to just the image property and the white went away entirely. Glad for an easy fix, hope this helps someone else.
I have a UIPopover View where I added a 1pt border around to help differentiate between the Popover content and the content underneath. Does anyone know of a way to continue the border around the arrow?
I've tried adding the border to:
self.tableview.layer;
self.view.layer;
self.view.superview.layer;
None of them seem to apply to the arrow.
Here's a picture for reference: