Post

Replies

Boosts

Views

Activity

Comment on UIDocumentBrowserViewController iOS16 additionalTrailingNavigationBarButtonItems are duplicated
Snip from sample app: let Settings_symbol = UIImage(systemName: "gear.circle") let Settings_image = resizeImage(image: Settings_symbol!, targetHeight: targetHeight, targetWidth: targetWidth) let Settings_image_with_render = Settings_image.withRenderingMode(.alwaysOriginal) let Settings_barbutton = UIBarButtonItem(image: Settings_image_with_render, style: .done, target: self, action: #selector(Settings_menu)) documentBrowserView.additionalTrailingNavigationBarButtonItems = [Settings_barbutton]
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’23
Comment on SwiftUI Charts - MTLTextureDescriptor has width (9649) greater than the maximum allowed size of 8192
It seems that the crash happens with very small data range... All data is dynamic. I don't control what end-user will enter. In my test in Simulator, data consists of only 1 value (Date, Value of 0) Crash happens with LineMark. No crash using BarMark Is there a method to determine what Metal Texture size would be required to prevent this crash?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’23