2014-01-25 34 views
0

我正在使用jquery mobile開發應用程序。在應用程序中,我有PayPal Donate button,它使用inAppBrowser打開表單。我想我的應用程序提交給iTunes Store,但我得到了以下的拒絕,在瀏覽器中打開PayPal表單 - jQuery Mobile

We found that your app includes the ability to collect charitable donations within the app, which is not in compliance with the App Store Review Guidelines 

While donations may not be taken within an application, it is possible to provide a donation link to your web site. This link should launch Safari to collect the donation. 

我嘗試添加rel="external"的形式,但沒有奏效。

<form rel="external" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top"> 

如何強制PayPal表單在瀏覽器中打開,但不在App本身中?

回答

1

target="_blank"屬性添加到窗體標記中。你現在的形式是這樣的:

<form rel="external" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">

所有相對確實是讓一些搜索引擎,以獲取有關頁的詳細信息,我不認爲這會產生什麼影響。

+0

謝謝,工作:) –