Post

Replies

Boosts

Views

Activity

Reply to Datepicker iOS 14 crashes on completely empty project
I tried and could not reproduce the crash. I created a project for iOS (not multiplatform) UIKit Storyboard I tested with 2 date pickers style: on automatic one as wheels Mode is set to Date Xcode 12.4 Tested on simulator iPhone 11 ProMax 14.4. I scrolled to 1996. No crash. Could you describe your exact set up ?
Topic: UI Frameworks SubTopic: UIKit Tags:
Feb ’21
Reply to Datepicker iOS 14 crashes on completely empty project
I looked at video and did the test with the same DatePicker configuration. No crash. I tested with 12Pro simulator. No crash. Could you post the complete crash log, it is not possible to read on the video. I am also using 12.4 (12D4e) Tested on Catalina 10.15.7 (19H114) What is your MacOS version ? Maybe you have an Xcode installation issue ?
Topic: UI Frameworks SubTopic: UIKit Tags:
Feb ’21
Reply to Positioning UITabBarItem's image
I looked at the icons themselves (importing both function and gear in a UIImage). It appears they have a very different aspect ration: func is wide: like 70 * 44 gear is square : like 44 * 44 Hence, when drawing, they scale to fit ; and the height of function icon is reduced. Maybe a solution is to create your own icon and make it square (entered in the square you want). Update I did it, creating a 40*40 icon and it works quite well. I had a series of steps to get there : - screenshot the iconpasted in drawing in openOffice - screenshot a square around it (it has white background)pasted again in open office - with Tools > Color replacer, change white color to transparentselected the object and copied - in Preview, create from pasteboardresize to 40 * 40 and name "f of x" - then copied in Xcode project 10. - and used it as the image. Note: at step 8, you may fine tune the values (changing resolution, changing a little bit the size, but keep it square).
Topic: UI Frameworks SubTopic: UIKit Tags:
Feb ’21
Reply to Positioning UITabBarItem's image
creating my own image just didn't feel right What is not OK with an image ? The test I did is not so bad. If you want to post an email address for a short moment (edit your post then within the next hour to avoid leaving your email), I will send you copy of test app I created for this. why the imageInsets do not work on UIImages that are initialized with an SFSymbol but do work when I use an image which is in an Assets folder. Yes, that's surprising. I assume the reason is that SF is not exactly an image, or is not handled as such. It may be closer to an emoji. In anycase, that is worth a bug report.
Topic: UI Frameworks SubTopic: UIKit Tags:
Feb ’21
Reply to SwiftUI TextEditor performance issues
That means that each time you type a character, there is some processing of the whole String. And probably the time grows linearly. So if it takes 10 ms (unnoticeable) for a 1K string, it will take 4s for 400K String. You should file a bug request, at least against doc to inform about it. Note: 400K is more than a sizeable String…
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’21
Reply to iOS 14.4
The forum is not the place to call at Apple. Either file a bug report or call support. upgrading my family yesterday 5th February 2021 to IOS 14.4 all of my devices that are Apple What did you upgrade ? Several devices ? Did you do it in a single operation ? Could you describe the sequence of actions for this family upgrade, and when you first noticed the problem. I would try to unregister a device from the wifi network (forget the network) and register again.
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’21