I created a custom bar graph that I can long press and drag to get value.
I am trying to set a label within this view but it randomly throws me this error.
I am not sure why this error is being thrown at me.
Please help.
I am trying to set a label within this view but it randomly throws me this error.
I am not sure why this error is being thrown at me.
Please help.
Code Block language [View] View has lost track of its superview, most likely through unsupported use of CALayer API on the view's layer. If this isn't a crash yet, it will be in the near future. Problem view: <UILabel: 0x7fb7b5d22140; frame = (5 0; 195 15.3333); text = ''; hidden = YES; userInteractionEnabled = NO; layer = <_UILabelLayer: 0x60000333c190>> Expected parent: <Aphrodite_Dev.StackedBarGraph: 0x7fb7b3c44c10; frame = (150 15; 205 15.3333); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x600001f4f420>; layer = <CALayer: 0x600001696f20>> Break on UIViewReportBrokenSuperviewChain to debug.