문제

I would like to launch Apple's Stocks app to show information for a particular stock, on a non-jailbroken phone. I'm not interesting in how to get a quote or graph a stock myself, just opening Stocks.app.

I was hoping that the Stocks app would have a custom URL format, so opening a URL like stocks://AAPL would do the trick. But I haven't found anything documenting such a scheme, and suspect it doesn't exist.

Any other ideas, or is it impossible to integrate with the native Stocks app?

도움이 되었습니까?

해결책

It doesn't exist, Apple publishes a list of iPhone URL schemes - Mail, phone, text, Maps, YouTube, and iTunes.

Maybe you could just pull the stock info yourself? There must be some kind of web service you can use.

다른 팁

Unfortunately this is not possible as Apple pulls its stock information from Yahoo! Finance. Maybe you can try opening a UIWebView/Safari and direct to the Yahoo! Finance as the next best thing?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top