Post

Replies

Boosts

Views

Created

Reload default URL on Home button
I have built an app from my web site using Storyboard and view controllers. I have five tabs which all calls different URL's from my web site. Everything works perfect, except one thing: When the Home tab launches and I click on a link on the web site it opens the link in the same view controller. That is fine. But, when I want to click on the Home button again, it does not reload the site - it stays on that same URL still. So instead of going to the default URL it stays on the link address that I clicked on which is mydomain/somelinkurl. How can I make the Home button (which is a Tab Bar Controller) to reload my website again? One note: If I click on any of the other buttons in the Tab bar, and then click on Home again, THEN it reloads the site as it should. Hope you understand my issue and that someone knows how to fix this. Thank you very much in advance! /Lise
5
0
991
Nov ’22
Chromecast videos from own website on a view controller
Hi all, I have enabled the ChromeCast icon via Google Cast SDK framework in my app. I am able to cast to my TV, that works fine. But, I cannot cast any media. It says "No media selected" although I am opening a video file and play it. I have an app that is connected to my website so I use UIWebKit and WebView to display my content. On my site I have lots of videos that I would like to be able to cast via ChromeCast, just like Netflix and other streaming video apps. Does anyone know if this is possible and if so, what is needed in the code to make that possible? Thank you very much in advance!
0
0
542
Mar ’23