开发者

How do I return to my app after opening up another app?

i have a webview in my iphone app where a google map location is opened like;

Directions

now the google map native app opens fine, but how could i add a RETURN button so it would jump back to my html page. Now i have to click my home button and the app close back to the desktop, so i have to start my webview again.

in android its more easy, because there is always a back button and after viewing my gmap i simply back in my webv开发者_C百科iew.

thx chris


If you want to display a map then use MKMapKit to embed the maps directly into your own app. This is the only way you will be able to return to your views. Linking out via a URL will kill your application off (no multitasking).

The first example I worked through was this one http://blog.objectgraph.com/index.php/2009/04/02/iphone-sdk-30-playing-with-map-kit/ (although there may be other/better/more recent examples now).

Andrew

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜