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]
Post
Replies
Boosts
Views
Activity
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?