Workaround for css animations if windows user not enabling animations - css-animations

I just noticed that no animations from example animated.css is working if the user is using win 10. This is because of that animations is disabled by default in win 10. So I dont think it has anything to do with browser support.
I think this is a problem because the average user dont know about this setting and all animations is lost for them.
Everything works fine on mac and chrome/safari and on iphone. Also tried and huawei tablet and it worked there to.
I also read this: https://developer.mozilla.org/en-US/docs/Web/CSS/#media/prefers-reduced-motion
Anyone has a solution to this?
Thanks

Related

Migrate app to ios11 for Iphone X

I need to update my app and make it look good on the iphone X. I've seen a couple of answers on stackoverflow and on the internet regarding the new safe area option (Use Safe Area Layout Guides).
According to what I've read the app should adapt automatically using autolayout as well but what I've got is this:
If I start a new project it all works fine. The project is quite big, so starting all over again is not an option. What should I do?
Thanks
I just had the same problem, and in my case, the problem was that my app didn't have a Launch Screen.storyboard, it was using a image as launcher. So adding a new Launch Screen.storyboard and selecting that one fixed it, maybe the rest of the app takes some settings from that Launch Screen.storyboard

Xamarin.Uitest app.Tap() has a different behavior between 2 different phones (Android)

I have an issue.
With the same code, app.Tap(myquery) work on LG 6.0.1, and it does not work on HTC 6.0.
(The issue happend with pop-ups)
I made an app.Flash(myquery) to make sure that my button can be found, and the app.Flash(myquery) is working fine for both phones.
Thank you.

Force WinRT app to snapped view

For one of my apps I'd like to send the app to snapped view after tapping a button. As far as I know there's no public API available to send a running application to snapped view. Did anyone find a workaround to do this?
Somehow it should be possible since you're able to do it in Windows 8 itself, and snap one of the running apps.
Update: Being able to trigger a Win+. might do the same trick, but the SendKeys API isn't available in WinRT either.
There is no way to force an application into snapped mode - it has to be a user initiated action.
An application can request to be unsnapped through:
Windows.UI.ViewManagement.ApplicationView.TryUnsnap();
Which tries to push the app into fill mode.
Windows 10 has a ApplicationView.TryResizeView method
So... to summarize the interesting WinRT journey:
Windows 8
Has a a 'Snapped' mode that a only a user can initiate. the developer can try to unsnap with the TryUnsnap method
Windows 8.1
Does not have Snapped mode, and TryUnsnap is deprecated. The dev can still listen for window size changes and know if the app view is in a smaller size as before.
Windows 10
Introduced the ApplicationView.TryResizeView method, where the dev can try to resize. Window size changed event is still there.
ApplicationView.GetForCurrentView().TryResizeView(new size(width, height)));

block ipad camera

Is there any way in which the usage of the camera of the iPad2 can be restricted only to my application? even if it is using i tunes.
could not find any code related to it. some code would be helpful.
There's no way to achieve this. I think it could be done with quite a bunch of hacking if you were developing for Cydia, but I'm not sure ever then. If the user quits your application or switches from it, the system will make the camera available to any other app requesting it.

How to let my application support iOS 4?

I tested my application on 8GB iPod Touch using iOS 4.0(within multitask), it works. But when I change my original source code, and built it in the simulator. The application load, but nothing appear, it all dark. What I should do to solve the problem? I check the console, it didn't show any error msg. Thank u.
In the Simulator, check the Hardware->Device and Hardware->Version settings. Also, try setting a breakpoint in your code and stepping through it to see how far it gets.