由 蘋果仁 · 已發表 十一月 6, 2017 · 已更新 十一月 5, 2017
iOS 11 開放一項功能,允許開發者直接在 App 出現一個彈跳視窗,詢問使用者要給這個 App 幾顆星,使用者輸入評價後即可繼續使用 App,不用刻意到 App Store 的評價區域輸入,對於開發者來說,是個方便使用者快速給予回饋的管道。
但有些時候,我就是不想要在 App 用到一半的時候跳出這個訊息,一直詢問我到底要給幾顆星,有沒有辦法可以關掉這個「請求評價」的彈跳視窗呢?答案是有的!
如何關閉 App 跳出要求評價的訊息視窗?
只要到「設定」>「iTunes 與 App Store」,關閉「App 內評分與評論」即可,這樣就不會看到下圖要求評分的彈跳視窗囉!
', enableHover: false, enableTracking: true, buttons: { twitter: {via: ''}}, click: function(api, options){ api.simulateClick(); api.openPopup('twitter'); } }); $('#facebook').sharrre({ share: { facebook: true }, template: '
{total}', enableHover: false, enableTracking: true, buttons:{layout: 'box_count'}, click: function(api, options){ api.simulateClick(); api.openPopup('facebook'); } }); $('#googleplus').sharrre({ share: { googlePlus: true }, template: '
{total}', enableHover: false, enableTracking: true, buttons:{size: 'tall'}, urlCurl: 'http://ift.tt/2fYUMTU', click: function(api, options){ api.simulateClick(); api.openPopup('googlePlus'); } }); // Scrollable sharrre bar, contributed by Erik Frye. Awesome! var $_shareContainer = $(".sharrre-container"), $_header = $('#header'), $_postEntry = $('.entry'), $window = $(window), startSharePosition = $_shareContainer.offset(),//object contentBottom = $_postEntry.offset().top + $_postEntry.outerHeight(), topOfTemplate = $_header.offset().top, topSpacing = _setTopSpacing(); //triggered on scroll shareScroll = function(){ var scrollTop = $window.scrollTop() + topOfTemplate, stopLocation = contentBottom - ($_shareContainer.outerHeight() + topSpacing); $_shareContainer.css({position : 'fixed'}); if( scrollTop > stopLocation ){ $_shareContainer.css( { position:'relative' } ); $_shareContainer.offset( { top: contentBottom - $_shareContainer.outerHeight(), left: startSharePosition.left, } ); } else if (scrollTop >= $_postEntry.offset().top - topSpacing){ $_shareContainer.css( { position:'fixed',top: '100px' } ); $_shareContainer.offset( { //top: scrollTop + topSpacing, left: startSharePosition.left, } ); } else if (scrollTop 1024 ) { topSpacing = distanceFromTop + $('.nav-wrap').outerHeight(); } else { topSpacing = distanceFromTop; } return topSpacing; } //setup event listeners $window.scroll( _.throttle( function() { if ( $window.width() > 719 ) { shareScroll(); } else { $_shareContainer.css({ top:'', left:'', position:'' }) } }, 50 ) ); $window.resize( _.debounce( function() { if ( $window.width() > 719 ) { shareMove(); } else { $_shareContainer.css({ top:'', left:'', position:'' }) } }, 50 ) ); });
from 蘋果仁 – 你的科技媒體 http://ift.tt/2y50H0M
沒有留言:
張貼留言