Apple has unveiled details of its next generation operating systems for both iOS and OS X at its annual World Wide Developer’s Conference.