I have System network extension that connects to specific resource. What is happening is when connection is done, extension's icon (white box starts jumping in dock). After the connection is closed, icon removes from dock.
I am not sure what info I should add here, the connection is done in background.
I am not sure if this is desired behavior or is it configurable?
I tried something with requestUserAttention(_:) and cancelUserAttentionRequest(_:) but with no luck (I tried to make a new attention request, then to cancel it, plus to just call cancelUserAttentionRequest
).
I found a similar unanswered question here, so I raised a bounty on it.
I am not sure if some code related to connecting or disconnecting is required, but I also can't post it here exact as it is. Its just a custom framework that is used for connection and I only have an access to a wrapper that uses it.