I have a PNG with white text and transparent background on my Launchscreen.storybord. imageView backgound is set to transparent and alpha =1. But when I launch, background seems to become white:
Does anyone know how to solve it? I'm probaly missing a property on image inspector.
It was an Xcode bug. I cleaned the project, restarted Xcode and background became transparent.
Related
I updated my xcode to 12.3 and it changed the background colors to bright yellow on Navigation Tab bar and alertviews.
I have them set to default colors and that appears to be light grey. The text and images remain black but I noticed that one of the images has gone to full color. Very weird.
Also the background color of the entire simulator, even the App Settings page, has turned bright yellow. I can change colors in the inspector panel (though the text tint does not change, always white) and it changes it on the xib screen but the simulator still shows the bright yellow background with the correct blue if selected and dark gray if not selected images and text.
The change effected every tab bar in the app. When run on actual device, the colors are normal. Translucent is checked. When unchecked the background color appears white.
Anyone give me advice on what to do here?
I ran into the same issue after install xcode 12.3. This is how to fix the issue.
Certain parts of the screen appear yellow in Interface Builder and the simulator.
First do this...
Open your Simulator and go to File > GPU Selection > Prefer Integrated GPU in
Then do this...
Quit Xcode and simulator
Unplug power cable
Restart Xcode and simulator
Check storyboard or simulator to confirm yellow tint is gone
Reconnect in power cable
Worked for me. Good luck
MacOS had an update and after I installed that, the colors reverted to normal.
Whenever I run my app through any of the Ipad simulators in xcode, the background image is stretched or zoomed in and looks really abnormal. When I run the simulator for the Iphones the background image is fine. Does anybody know what might be causing this?
edit:
Please see the following screenshots of the launchimage (how it should look) and the background once the app is done loading.
My launchimage and how the background should look:
How the background looks once the app is done loading. Notice it is zoomed in:
I've noticed your original image has resolution of 2048x1536, which is Retina display's resolution.
Solution: Rename it adding a suffix of #2x (e.g.: if your image's called background.png, rename it to background#2x.png).
I am using a logo with a white background and in the format of a .jpg. For some reason Internet Explorer is changing the white background to grey. I'm not sure why, I've searched the internet but cannot find anyone with the same problem.
So in my app I am creating, when it is run in the simulator I see the white background images, instead of my transparent background I set. This is with an XIB and not a Storyboard for what it matters.
Examples:
iOS 5.1 and below:
iOS 6 and above:
Does anyone know why this is happening and how to fix this?
I fixed this problem by instead of using a transparent background png, setting the button type to custom, not rounded-rect. This fixed the problem with white backgrounds being shown.
I'm running Xcode version 4.4.1 and I've read that there are some issues with changing shadow settings and text highlight color automatically changing with it. I want to change the shadow for a button and I can't seem to do so without the whole button background color changing. This can probably be fixed in the code but I want to be able to do this in the xib. Any ideas how to get around this bug?
It is a bug in Xcode, don't worry. It's been around for a few versions now. Simply change the background color again after setting the shadow color.