Why is my YouTube subscribe button dimmed out and un-clickable? - youtube

Here is a screenshot of the actual YouTube button creator:
You can see the button is even dimmed there. It’s also dimmed when I embed on my site. Suggestions?

Yes, that is because you are already subscribed to the channel.
Try opening the web page on Incognito mode to see if its the same.

Related

Can I suppress alert "It looks like you are typing while in full screen" over iOS 12 fullscreen mode

We are trying to show video over iOS safari with fullscreen mode (on later iOS 12, if the user enabled fullscreen mode API) and trying to allow the user to tap video screen to show some interactive effect over video (on fullscreen mode).
but when we tap screen several times on fullscreen mode, an alert dialog of "It looks like you are typing while in fullscreen" was shown.
We want to avoid this message in some way.
We will appreciate any help. Thank you in advance.
Only a partial answer, but this was a solution for us:
The warning does not occur when the website is launched from the iOS home screen.
Open the web page in Safari
Tap the Share button
On the bottom row of icons, scroll over until you see Add to Home Screen and tap this.
A new shortcut will be added to the iOS homescreen
Launch from here and this warning message will not bother you
This is only a solution if you're in control of the iPad, or if your users are very compliant! But in our case this was all we needed. Hopefully some others will find the same.

Performing a task through a website and going back to an iOS app

I'm developing an iOS 7+ app that I need to offer the option of navigating to a certain web page to let the users to fill in a form there, and after that to come back to the app's view where the user was.
Is it possible to programmatically open Safari with a given url? If it is, I suppose that then there is no way to automatically redirect the user to your app from there... right? Is then a UIWebView the only option? Is it possible to navigate back or dismiss the view with the UIWebView without the need of user interaction?
Thanks
You can open links in Safari as detailed in this post How to launch safari and open URL from iOS app
I don't believe you can set a 'callback' and have it return to your app on completion, as you have no control over the user once they have exited your app's sandbox.
Opening the link in UIWebView would provide control, as you can utilize the UIWebView callbacks.

Is it allowed to add a UITabBarItem that opens up Safari?

I want to add a UITabBarItem on the TabBar which when clicked opens up Safari instead of loading its corresponding tab. (Not UIWebView but the app goes to background and opens up Safari instead)
I already know how to do this, but I was wondering if this is allowed by Apple. I know they're OK with using the TabBarItem to trigger other actions such as opening a modal in the app, etc. However I am not sure if it's OK to open a safari.
I am just being cautious because I don't want it to get rejected for this and wait another week.
I don't see a reason why it shouldn't be allowed.
But: it could lead to confusion amongst your users, because they would most likely not expect that touching an item on the TabBar leads to an app switch. I would rather open a webView and offer the additional possibility to open the page in Safari.
There is no harm doing such and it is also allowed by Apple.
But, I would personally suggest to use UIWebView, over Safari navigation. Because it will create unhealthy user experience, where he/she requires to jump around to swith in-between Safari and App. Rather you can open the same link in UIWebView, which will kepp our user in app only.

How to detect user tapping into status bar from iOS Safari

Is there any way to detect whether a user browsing my website is tapping / expanding the status bar? Is any sort of javascript "out of focus" event fired?
We want to use this for alerting the user before navigating away during an ongoing transaction. window.onbeforeunload is apparently not supported by Mobile Safari.

UIWebView does not show AlertView as per image

I have to update my app to handle the situation as per the image shown. It used to work when I logged into the website and the login for was just displayed as a normal website.
But now since the update it comes up as a UIAlertView, I have seen this similar when I log into my router at home.
However the UIWebView in my app does not show this alert. Mobile Safari does show this.
Is there any way to get the UIWebView to show this or is it just suppose to come up when required?

Resources