Not the topic for that, other problem, other OS version.
It might be, that you forgot to set the physical keyboard layout (appears only with connected keyboard) to Danish, that was the usual solution for your problem in Android 5.n.n. Else, it's a dedicated Mac only keyboard, there will be a...