Lova Shih
Lova Shih
Feb 25, 2017 · 2 min read

iOS APP Rejected : 2.3 PERFORMANCE: ACCURATE METADATA

iOS APP每次送審都會因為不同原因被reject

這次是因為有個webview裡面可以看到客戶的官網, 然後有幾個QRCode可以去下載APP, 所以觸犯了天條2.3.10 :在APP內展示第三方平台(Android)的的任何資訊

We noticed that your app or its metadata includes irrelevant third-party platform information.

但那怎麼辦呢, 叫後端判斷今天是誰來要網頁嗎? , 前端自己改一改比較快

於是決定用js來把內容無腦隱藏掉

先找出這幾樣東西的class name

用Chrome找出class 叫做lightbox

然後在webview finish load時把它隱藏掉

在UIWebView fiinish load時執行JS

然後他就變成一片空白區域了

EITS

Mobile APP & Web https://eits.com.tw/

    Lova Shih

    Written by

    Lova Shih

    邁向一萬個一小時

    EITS

    EITS

    Mobile APP & Web https://eits.com.tw/

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade