1 Reply
      Latest reply on Jul 5, 2019 12:20 PM by Claude31
      Claude31 Level 8 Level 8 (6,105 points)

        That's a watch error I cannot get rid of.

         

        I have created a group at the bottom of the view (that seem to be important).

        In the group, a label and a slider.

        I would like to hide the group at start, then show it after some action has been done.

         

        So, in awake, I setHidden(true) for the group.

         

        But, I get multiple context errors like:

        App Watch Extension[11882:866609] [Unknown process name] CGContextSetFillColorWithColor: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.

        App Watch Extension[11882:866609] [Unknown process name] CGContextSetStrokeColorWithColor: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.

         

        If I replace setHidden by setting alpha to 0, I succeed in hiding, but that's not exactly the same layout.

         

        I found this SO, but the solution does not work for me.

        https://stackoverflow.com/questions/32236204/cgcontextsavegstate-invalid-context-0x0-error-only-on-device