I tried to save a graph, which I created with the iOS Charts api, to the camera roll. There exists only the following function:
private func saveButton() {
barChartView.save(to: STRING, format: ChartViewBase.ImageFormat, compressionQuality: Double)
}
Which value should I enter for "to"?
Try with this
The value which you can enter for "to" is the path where the chart will be saved.
In the previous version existed 2 methods
Now just exist
I don't know what is the path to the camera roll, but maybe just change the path and could work