Ok i found after maybe 1,5 hour the reason why it did not work for me.
if you put the button on a panel that has a click event the button will not work. after removing the click event of the panel the button will work.
Sub backuppnl_Click
'do nothing
End Sub
this is the panel click event and I use it because I want to prevent views that are behind the panel to be accidentally clicked but the apple sign-in button will not work. if I comment this event the apple sign-in button will work.
is this a bug or is this on purpose?