Apple says it will now require a judge-approved order before handing over its users' push notification records to government agencies.