UITextView is changing color in iPhone 6+ automatically which is not required - ios

I have set the color of the text of UITextView from storyboard to white color. Its working fine in iPhone 5,5s,6,6s (iOS version 10.1.1) but the color is automatically getting changed to black in iPhone 6s (iOS version 9.1.1). I also provided the text color through code, then also its not working.

This is a bug from Apple's part probably in iOS 9.3.3, and it was fixed for later version of iOS, as you say it is working fine in iOS 10.1.1. You can also look into another stack overflow's post with similar issue

Related

iOS text labels work on simulator and older devices, disappear on newer devices

I am developing an app that has several vertical stacks of alternating buttons and text labels. The app appears and functions fine in the simulator on all devices, but when downloaded onto actual devices, the text labels are not visible with newer devices such as iPhone X.
Turns out the default text color is different on the newer devices. Black text on the iPhone 7. White text on a white background on the iPhone X was the problem. Weirdly, this issue was not correctly simulated on the simulator so debugging in XCode wasn't helpful- it had to be run on actual devices. Thanks DonMag for the suggestion on the background color.

My app runs properly on the simulator, but crashes on my ios 13.2 iPhone

My app runs properly on the simulator, but crashes on my iOS 13.2 iPhone when it is about to run on the device. Also the textfield become black. Why? Thanks in advance.
If you have update xCode to 11.2 then according to this discussion it could be a new bug, which occurs when using UITextView created in Interface Builder.
Your textfield becomes black because by default the background color of text field component is "Default" color, that is it changes according to the iPhone theme, you will have to explicitly set the background of the textfield so that it is consistent on both themes. The crash seems to be a bug , and a screenshot of the same will help.

UITabbar stretched in iOS 10 but not 11+

So I've been developing my app on iOS 11 and 12 for the past few weeks, but after testing on the iOS 10.3.3 iphone 7 simulator (and real iphone 7's), I just realized that the tab bar icons look really stretched for some reason.
They look fine on all phones iOS 11+
I followed the guidelines here: https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/custom-icons/
My image sizes are
#3x: 75x75
#2x: 50x50
#1x: 25x25
I've played around in storyboard and have no idea how to fix this. Any thoughts?
Ok, so it turns out I had imbalanced tab bar item insets.
Changing from this:
To this:
ended up fixing the issue. Not really sure why it doesn't work below iOS 11.

iOS swift: since 11.2 strange borders on some UiViews

Since I've updated to iOS 11.2 on my iPhone 8 plus I see strange borders on some views. Not all, but just some.
I've tried to set the border color to clear, the border size to 0, but still the border are there.
If I try to take a screenshot the picture doesn't show the borders.
If I play the app from an other iOS version or from simulator there aren't any border.
Did some one have the same bug? Do you know a fix?

Black bar on IOS 7

I have an iPad app. When I used it in iOS 5 or 6 its working fine and the UI also seems to be fine. But the same in iOS 7 a black bar on top, bottom, left and right of the screen appeared. Including on the splash screen.
I had tried it by hiding status bar of all views.But I cant fix the issue.
- (BOOL)prefersStatusBarHidden
{
return YES;
}
Can any one know what is the reason?
The same thing happened to me as a result of downloading the latest version of Xcode
and all I had to do was adjust the frame of my view as it was altered during the download. It's so simple I didn't even think to try it.
How big are the bars? Is there any chance this is actually an iPhone retina app and this is iOS 7's new automatic scaling for the iPad's bigger display instead of the old '2x' mode?
Also, does it behave like this in the simulator and if so, can you post simulator shots of it running under iOS 6 and iOS 7?
See here for what I mean : http://www.iphonehacks.com/2013/07/ios-7-uses-retina-assets-of-iphone-only-apps-on-non-retina-ipad.html

Resources