Код: Выделить всё
u_int8_t b = 1;
setxattr([path fileSystemRepresentation],
"com.apple.MobileBackup", &b, 1, 0, 0);
Подробнее здесь: https://stackoverflow.com/questions/348 ... -sys-xattr
Код: Выделить всё
u_int8_t b = 1;
setxattr([path fileSystemRepresentation],
"com.apple.MobileBackup", &b, 1, 0, 0);