Refresh Control UX for tvOS? - refresh

Is there an established or recommended refresh control on tvOS similar to the pull down to refresh on iOS? I noticed typical UIKit gesture recognizers in the tvOS SDK that I could use, for example a long press, but I was wondering whether a standardized control has emerged yet. I know from my own experience I don't think, or at least can't find, a refresh control on the YouTube app which is really frustrating.
I'm looking to refresh a UICollectionView in tvOS.

There are NO any refresh control element in tvOS. However you can use:
A UIButton with refresh action.
viewDidAppear, viewWillAppear
applicationWillEnterForeground

Related

Remove "Personalization" pane from Alexa Testing Web Interface

I am currently working on Amazon Alexa via the Amazon Web Developer Console, and they have added a new "personalization" feature that I dont need. It is not enabled for this skill, and I dont intend to do so. Nevertheless, the viewing window for this feature takes up more than half of my screen in the testing window, and I cannot remove it, nor scroll it out of view, which leads to me being unable to properly view the important parts of the testing page, the Skill IO and the display.
Has anyone had this problem? How can I get rid of this personalization window
Screenshot
Terrible design, you can't for now (unless manually removing it on your browser).
Submit a feedback on the page (bottom left) so they will be aware and fix it soon hopefully:

Where Google Photos for iOS hide “Assistant” tab?

Google photos for iOS app used to have an Assistant tab with amazing funny things like animations other things.
Now that I’ve got the latest version 5.0 I can’t find it anymore.
I found that the new creations are hidden inside the Recent Highlights item but it’s very inconvenient as it mixes both plain old photos with creations.
Very bad UI IMHO.

AWS Documentation is slow to scroll through

For some reason, whenever I scroll through the documentation (particularly, the developer guides) of AWS, the scroll is very flickery. On the other hand, when I save the raw HTML and browse through the docs "offline" (using this Chrome extension for easier replication), it scrolls smoothly. Checking the performance of the actual (non-offline) page render using Chrome, it looks like the brunt of the work is being done during "Painting."
Actual
Offline
Why is this?

facebook like button and google plus button slows down my website

In my website I have both a Facebook like button and a Google+ button.
Both buttons slow down my website by creating many HTTP requests with bad latency.
Any idea how to make it faster?
I think that both consume about 1.5s
You need to load the buttons asynchronously. The +1 buttons officially supports async and there is a workaround to get the like button working too.

Web Browser control in C++: Detecting mouse click on specific button

My C++ application is using a web browser (IE) control. I need to detect when the user clicks a button on a specific web page (using the element ID of that button).
How can I do this? I already have an event sink implemented, but I do not know how to catch mouse click on DOM elements.
The event you are looking for is probably related to:
onclick event
But whether this is accessible from the MS IE API from C++ via EventSinks, I don't know.
Other Round-About Way to Get Click Information to Your C++ Code
I am not an expert on it, but companies like UserZoom, analyze the information by inserting Javascript via a plug-in to the web browser. Here is a quote from their FAQ of how they collect the click-streams:
UserZoom FAQ
Data Collection & Tracking
What type of information is UserZoom
capable of tracking during the tasks?
With the plug-in version or non plug-in with JavaScript tracking code,
UserZoom can track participants’ navigation paths as well as where
participants have clicked on pages throughout the tasks (heatmaps).
With the non plug-in version, navigation paths and participant clicks
cannot be captured.
Now with this knowledge, go find a javascript library that can get the clicks and the document object model info.
Google Search: "how to get where the user clicked element in javascript"
How to get the target element when clicked?
StackOverflow: JavaScript: Get clicked element
Then you need to insert that bit of javascript into the webpages into the browser the user is using.
Adding Javascript with an add-on/extension/plugin in Firefox and Chrome is relatively easy, I've heard, but for IE, I think you have your work cut out for you to create the add-on in IE. After much searching I found this:
Inject HTML and JavaScript into an existing page with BHO using MS Visual Studio 2010 and C#
And lastly, get that information out of the javascript and into your code using JSON or AJAX and setting up a local webserver to receive it:
Google Search: receive ajax c++
Jquery Ajax Calling Functions
AJAX and the C++ Programmer
Hopefully that information gives you a starting point. Good luck.