Apple has shown interest in creating a digital personal trainer for the iPhone, letting people know when they should go to the gym, what exercises they should do, what they should eat, and even allowing users to compete with their friends and be ranked on their performance.