I have implemented a gauge chart and overall it is working great. When testing on an iPhone it has a white "segment" appearing at the start of the animated line - this does not appear at a consistent time, and it does change in shape depending on how far through the animation is when appearing.
Wondering if anyone can confirm how to fix - I have tried everything I can to resolve.
Screenshot of iPhone with Gauge loading
Related
Does the iOS 11 Apple AVCaptureMetadataOutput for scanning barcodes work with Code 128, Data Matrix, and QR Code when White on Black?
Any extra variables, properties, or settings in the library we are not familiar with?
There is a reasoning for this. The new iPhone 8 packaging is White on Black barcodes.
(we are aware this question has been asked before, however this is about iOS 11 and any new capabilities)
I think that what it tricks you into seeing as 'white lines' is the normal lighter coloured background. What you see as the 'black spaces between the lines', is the actual 'bars'.
So to replicate this, do not simply set your barcode artwork in white, that will not be machine-readable on ios11 or anywhere. Instead, you should maintain the original barcode & just crop it such that it appears to be white shapes on a black field.
Actually it isn't important to actually be black & white, we just need a distinct colour contrast to the scanning device, originally a red light laser. Make sure the black lines of the original design simply absorb more light and reflect less than the background colour between.
If you are trying to replicate this effect, make sure you have a bigger white block at the two extremes, and always test it on a few devices before rolling it out.
I'm new to iOS development and when I run the code for Connect the UI to Code I see the top of the text field is clipped:
I've checked the constraints, which all look fine (best I can tell).
Update: Answer
From my answer below: "Aha: The cause was that I had scaled the Simulator to 50%. There is no clipping at 75% or 100%."
Update: Blended Layers screen shot
Here's the screen shot with "Debug > Color Blended Layers" on (great tip!):
Aha: The cause was that I had scaled the Simulator to 50%. There is no clipping at 75% or 100%.
looks like the "meal name" label is place on top of the text field and overlaps it
use the Debug->"Color Blended Layers " option for simulator to see its positioning
My problem is that my application's icon seems to be resized to fit the rounded-corner mask applied when displayed on the home screen.
EDIT: Here's the image:
My image follows the guidelines in these locations (mainly that it is 120x120, and doesn't have pre-rounded corners):
https://developer.apple.com/library/ios/qa/qa1686/_index.html
https://developer.apple.com/library/ios/documentation/iphone/conceptual/iphoneosprogrammingguide/App-RelatedResources/App-RelatedResources.html#//apple_ref/doc/uid/TP40007072-CH6-SW4
I've tried:
1) Using an image catalog
2) Searching for the issue on this site. I looked through the first 5 paginations sorted by newest and can't find anyone who's had the issue...
3) Making sure that the image is specified in the info.plist
4) Checking the troubleshooting app icon issues on the apple developer site.
The icon always ends up drawn with the black edges.
Is there a way to programmatically make sure the mask is applied correctly?
Has someone else encountered the same issue?
It sounds like you might have the wrong DPI set in the icon PNG—if it’s something other than 72 (the screen’s nominal DPI in points), the system may be trying to scale it to match.
It looks like the DPI was correct. The problem was that there was a transparent background layer, wider than the image that Android Studio seemed to have added when it was run through that deployment process. The layer went unnoticed in preview because it doesn't highlight the transparency. Noticed it when I opened it in GIMP.
So it was a silly oversight on my part.
I have designed an interface in a NIB which has two UILabels. The labels are in close proximity to highlight one particular word in a different colour.
The issue is that on a non retina display the two labels render as desired. See Image 1:
However on a retina display the label for the white text overlaps some of the blue text. See Image 2:
Note that the frame of the white text label doesn't seem to have moved rather the issue seems to be the word wrap on the blue text label.
Has anyone seen this before and figured out a quick/ painless cure?
Posting as an answer as requested:
This looks like a possible bug or edge case with the larger label's size. If you widen it by a single point, it may wrap correctly on both devices. It may be worth reporting this as a bug, since the objects should behave identically on retina and non-retina devices.
This will be a non-issue for you in iOS 6, anyway :)
got a question about turning pixels off on a screen. I can make a black image and show it full screen on my pc. Yet the screen looks black but the pixels aren't off. You can see the difference between an off screen and a black screen.
I am wordering if it would be possible to turn these pixels off via a program or is the best you can do: make them black?
I am looking for the delphi code to turn off the right half of my computer screen?
hope its clear!
thx
You can't turn off individual pixels, or parts of the screen. Either the screen is on or it's off.
This works a bit differently depending on what kind of screen it is, but nowadays LCD screens is the most common kind. An LCD screen has a backlight behind an LCD display; the backlight is always on, and shine through the LCD display when the crystals are transparent. Pixels are made black by making the crystals non-transparent, however they still let a fraction of the back light through. To make pixels completely black you would have to turn the backlight off, and you can only to that for the entire screen.
If I get it right, you want to turn off the power from the half of your monitor, what is impossible. It would have to be supported by your graphic card as well as by your monitor driver.
Turning off pixels can only work on new all-lead displays, except if you are switching off the computer, when all systems (including the screen) are off.