TiltEffect

Dec 16, 2014 at 7:53 PM
Edited Dec 16, 2014 at 7:59 PM
On Windows Phone 8.1, TiltEffect.IsTiltEnabled="True" on an ImageButton throws an exception. I'll try and figure out why.

It's crashing in, TiltEffect, throws a NRE at storyboard.Begin()
private static void ShowDownAnimation(UIElement element)
        {
            var animation = new PointerDownThemeAnimation();
            Storyboard.SetTarget(animation, element);

            var storyboard = new Storyboard();
            storyboard.Children.Add(animation);
            storyboard.Begin();
        }
Coordinator
Dec 16, 2014 at 9:10 PM
Can you fix it with this workaround? http://stackoverflow.com/a/24065181/876814
Coordinator
Dec 18, 2014 at 6:30 AM
Dec 18, 2014 at 1:55 PM
Not yet, I'll mess with it today.