0

I want to integrate the Google News app with another iOS customized app. I've found the URL scheme for Google News (googlenews://) and it opens the app. Now I am trying to pass a parameter in order to automatically search news for it. I've used the following URLs with no success.

  • googlenews://news.google.com/search?q=stackoverflow
  • googlenews://q=stackoverflow
  • googlenews://?q=stackoverflow

Looks simple but it doesn't work. How to do that correctly?

4

1 回答 1

0

如果要对 Google 新闻进行参数搜索,可以尝试以下操作:

https://news.google.com/news/section?cf=all&hl=us&ned=en_us&q=<YOUR_SEARCH_TERM>

<YOUR_SEARCH_TERM>您要搜索的参数在哪里。

于 2018-09-07T23:00:04.713 回答