You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have to draw day, week, month and year graph in segmented view and when I try to change the segment tab just need to reset the graph lines and redraw graph but when I call [self.graph reset] in viewwillappear and call [self.graph draw] its crashing the app in _removeTitleLabels method.
(void)_removeTitleLabels {
if (self.titleLabels.count > 0) {
[self.titleLabels mk_each:^(id item) {
[item removeFromSuperview];
}];
}
self.titleLabels = nil;
}
-[_UILabelLayer convertPoint:fromLayer:]: message sent to deallocated instance
Please help
I'm using https://github.com/ermalkaleci/CarbonKit for plot graph for, today, week, month and year, when switch between the tabs I call draw method everytime but it still crash at some points
The text was updated successfully, but these errors were encountered:
I have to draw day, week, month and year graph in segmented view and when I try to change the segment tab just need to reset the graph lines and redraw graph but when I call [self.graph reset] in viewwillappear and call [self.graph draw] its crashing the app in _removeTitleLabels method.
(void)_removeTitleLabels {
if (self.titleLabels.count > 0) {
[self.titleLabels mk_each:^(id item) {
[item removeFromSuperview];
}];
}
self.titleLabels = nil;
}
-[_UILabelLayer convertPoint:fromLayer:]: message sent to deallocated instance
Please help
I'm using https://github.com/ermalkaleci/CarbonKit for plot graph for, today, week, month and year, when switch between the tabs I call draw method everytime but it still crash at some points
The text was updated successfully, but these errors were encountered: