SAN FRANCISCO — Apple Inc. has unveiled an upgraded iPhone with a faster Internet connection and GPS capabilities.