Misleading MBLANCS documentation
in iOS
I was under the impression that multiple calls to -[MBLANCS eventWithCategoryIds:identifier:] with the same identifier should return the same event. However, when I make this call twice (once to start logging and once to stop logging), I get a warning about unbalanced logging calls.
When I call to -[MBLANCS eventWithCategoryIds:identifier:] once and save the result, I can start and stop logging as expected.
Is this the correct behavior? The documentation makes no mention of the need to save the event in memory. If iOS kills my app (and thus removes the event object from memory), how am I supposed to stop logging on my MetaWear?
This discussion has been closed.
Comments