ColorSyncProfileUninstall(_:_:)
Uninstalls a profile.
Declaration
func ColorSyncProfileUninstall(_ profile: ColorSyncProfile!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>?) -> BoolParameters
- profile:
The profile to uninstall.
- error:
On failure, a pointer to an error describing the problem. Optional.
Return Value
true on success, or false in case of error.
Discussion
The profile must return a valid URL for ColorSyncProfileGetURL(_:_:); that is, it must be created with ColorSyncProfileCreateWithURL(_:_:). Also, the URL must be in either kColorSyncProfileComputerDomain or kColorSyncProfileUserDomain, including subfolders of those.
Using this function requires COLORSYNC_PROFILE_INSTALL_ENTITLEMENT.