Shares of Apple Inc. were battered earlier this year as the iPhone maker faced repeated complaints about its lack of an ...