I have given users chance to creat their own record types on public database from swiftui itself. wondering if there is a way to assign security rules upon record type creation programmatically with a swift code.
Cloudkit programmatically security rules
the question is irrelevant since after production there are no ways to create a new recordtype programmatically.