Post

Replies

Boosts

Views

Activity

Reply to Spaces are not respected CFBundleDisplayName
Are you sure this isn’t just the behavior where iOS tries to squeeze whitespace to make the label fit without truncation? That’s based on the actual size of the text on screen rather than the length in characters. That said, I tried display name Toronto Hydro on a few different simulators here and it seems ok. The space does get squished a bit on the iPhone SE (1st gen.) but looks normal on larger simulated devices. Are you seeing this problem on all display sizes and all iOS versions? A couple sanity checks would be to: Test with simple cases such as A B and iiii iiii iiii. Test outside your app by making a Home Screen folder, and then manually rename it to Toronto Hydro. I believe folder labels should render exactly the same as app display name. Any difference?
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’22
Reply to What are valid combinations of completion handler parameter values for `URLSession.uploadTask(with:from:completionHandler:)`?
Asking here in the forum is proof that the documentation isn’t exactly complete. But we may be able to infer clues from the equivalent newer async method upload(for:from:delegate:). That method either returns a (Data, URLResponse) tuple or throws an error, so we know you’ll never get data or a response in the case of an error. And note the return tuple’s URLResponse is non-optional, so it will always be present if no error. The tuple’s Data is also non-optional but could be empty, so we can’t say for sure if that’s the case in the old version of the method. Probably best to handle both a nil data and an empty data the same way.
Topic: App & System Services SubTopic: General Tags:
Apr ’22
Reply to Testflight font problem
In addition to accessibility settings, note there’s a global Display Zoom toggle in the Display & Brightness settings (on device) and in the Developer settings (on simulator).
Topic: Design SubTopic: General Tags:
Mar ’22