我是php开发人员,我开发了一个api,它从数据库中获取数据并转换为ios应用程序的json编码。
据ios开发人员称,一旦用户打开应用程序并将其杀死,ios应用程序就会按下api文件发出通知。
我们需要做什么?
根据要求,一旦ios应用程序命中api并从数据库接收数据,ios应用程序将在20分钟后才能再次收到数据,换句话说,我可以说应用程序不应该再次点击api文件。
我想知道什么?
我想知道这是否有可能在ios应用程序中完成上面提到的任务(IOS app shouldn't received any notification or data from server till 20 m
我试图为Mobile版本创建一个浏览器嗅探器,问题是重定向显然会创建一个无限循环,我想知道是否有办法做到这一点:
(或任何其他requets_uri) 301->
下面是我正在使用的片段:
RewriteCond %{REQUEST_URI} !^ipad #Trying to set the condition "if /ipad is not the request_uri, but it doesn't work
RewriteCond %{HTTP_USER_AGENT} .*Mobile.*Safari
RewriteRule ^(.*)$ ipad [R=