Investors have been in a panic over China's volatile stock market and currency devaluations. Many of the world's biggest tech companies are highly exposed to China's economy, and that's caused some people to believe that China's woes will end up becoming big problems for Apple (AAPL -1.17%)

But not everyone is convinced that China's speed bumps will prove problematic for the iPhone maker -- including the company's CEO, Tim Cook. Click through the following slideshow to find out what Cook told CNBC earlier this week, and why Apple's long-term prospects in China are still very good.