Configuring restrictions on iOS devices