Apple: over 500 million iOS devices sold