Found better workaround for swift access controlls