Note that there are some explanatory texts on larger screens.

plurals
  1. POGoogle search policy
    primarykey
    data
    text
    <p>I have question about using Google search. Can I use a custom google search in my native iOS app instead of using their api tools, is this a problem for google?</p> <p>I write html page ( <a href="http://barzyczak.vot.pl/search.html?q=test" rel="nofollow noreferrer">http://barzyczak.vot.pl/search.html?q=test</a> ):</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;Element V2: Results Only Layout Demo&lt;/title&gt; &lt;!-- Put the following javascript before the closing &lt;/head&gt; tag. --&gt; &lt;script&gt; (function() { var cx = 'xyz'; var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true; gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//www.google.com/cse/cse.js?cx=' + cx; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s); })(); &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;!-- Place this tag where you want the search results to render --&gt; &lt;gcse:searchresults-only enableOrderBy="false"&gt;&lt;/gcse:searchresults-only&gt; &lt;/body&gt; </code></pre> <p></p> <p>I do request to site with above content in my iOS app and receives the results. I show this results in UIWebView:</p> <p><img src="https://i.stack.imgur.com/6VJRu.png" alt="enter image description here"></p> <p>So Can I use</p> <pre><code>- (BOOL)webView:(UIWebView*)webView shouldStartLoadWithRequest:(NSURLRequest*)request navigationType:(UIWebViewNavigationType)navigationTyp </code></pre> <p>and redirect user to my UIViewController? Is this ok for Google policy?</p> <p>Can I intercept/catch user's click on the link and open native application view instead of webview or should I open desired page in webview, and then redirect (with 301 code) with iOS schema URL, which open native app view (so really simulate click in google)?</p> <p>Ps. I know about Google API, but this is not ok for me.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload