ScrollViewer touch events on iOS not firing
I have a ScrollViewer object, and I'm using PreviewMouseDown, PreviewMouseMove, and PreviewMouseUp to implement pagination. It works fine on Windows. However, it doesn't work on iOS.
I tried changing the events to TouchDown, TouchMove, and TouchUp, but I'm only receiving the TouchDown events. How can I get the TouchMove and TouchUp events from the ScrollViewer on iOS?
I'm using Noesisgui v1.1.14 with Unity 4.6.5.
I tried changing the events to TouchDown, TouchMove, and TouchUp, but I'm only receiving the TouchDown events. How can I get the TouchMove and TouchUp events from the ScrollViewer on iOS?
I'm using Noesisgui v1.1.14 with Unity 4.6.5.
Re: ScrollViewer touch events on iOS not firing
I have been checking this against WPF and effectively we are doing something wrong. Whenever a manipulation starts (and scrollviewer starts a manipulation each time you touch down) the touch is captured. But our implementation of capturing is not right because we should be raising touch events (only in the scrollviewer because it is captured) even when the manipulation is active.
We need to fix this. Do you think you could update to v1.2? I would like to solve this for the next version. Or even provide you a hotfix if you need it.
We need to fix this. Do you think you could update to v1.2? I would like to solve this for the next version. Or even provide you a hotfix if you need it.
Re: ScrollViewer touch events on iOS not firing
I tried updating to 1.2 about a week ago, but ran into compatibility problems with uFrame (duplicate classes in the two packages) which I couldn't resolve. I deleted one set of the duplicate files, but still got some error about ambiguous class references for the collection events, which led to more errors no matter which namespace I resolved to. I'm guessing the files don't have the same contents, which leads to either uFrame or Noesisgui breaking depending on which set I delete.
I ended up reverting back to v1.1.14. If you know how I can get v1.2 working with uFrame, then I will do it. This is actually the only thing holding me back from upgrading to Unity 5. Btw, your support is WAY better than uFrame's!
If I can't get v1.2 working with uFrame, I would like a hotfix for v1.1.14 if possible. Thanks!
I ended up reverting back to v1.1.14. If you know how I can get v1.2 working with uFrame, then I will do it. This is actually the only thing holding me back from upgrading to Unity 5. Btw, your support is WAY better than uFrame's!
If I can't get v1.2 working with uFrame, I would like a hotfix for v1.1.14 if possible. Thanks!
Re: ScrollViewer touch events on iOS not firing
Thanks!
Could you enumerate the duplicated classes or files?
Could you enumerate the duplicated classes or files?
Re: ScrollViewer touch events on iOS not firing
There are the initial errors I get when importing Noesisgui v1.2.3.
Code: Select all
Assets/uFrameComplete/uFrame/Shared/ModelCollection.cs(17,35): warning CS0436: The type `System.Collections.ObjectModel.ObservableCollection<T>' conflicts with the imported type `System.Collections.ObjectModel.ObservableCollection<T>'. Ignoring the imported type definition
Assets/uFrameComplete/uFrame/Shared/ModelCollection.cs(19,19): warning CS0436: The type `System.Collections.Specialized.NotifyCollectionChangedEventArgs' conflicts with the imported type `System.Collections.Specialized.NotifyCollectionChangedEventArgs'. Ignoring the imported type definition
Assets/uFrameComplete/uFrame/Base/Bindings/ModelViewModelCollectionBinding.cs(105,12): error CS0104: `INotifyCollectionChanged' is an ambiguous reference between `System.Collections.ObjectModel.INotifyCollectionChanged' and `System.Collections.Specialized.INotifyCollectionChanged'
Re: ScrollViewer touch events on iOS not firing
To be compatible packages, we agreed, uFrame and Noesis, to have a share folder with common classes. That folder is on github (https://github.com/Noesis/UnityMVVM) and corresponds to the path Assets\Plugins\NoesisGUI\Scripts\MVVM in our package. We also agreed to share the GUIDS (.meta files) to avoid conflicts for users of both packages.
As you can see, Micah integrated our changes in his respository (https://github.com/micahosborne/UnityMV ... fcb2727f09). Although I don't know in which version those changes were publicly available.
Do you have the last version of uFrame?
As you can see, Micah integrated our changes in his respository (https://github.com/micahosborne/UnityMV ... fcb2727f09). Although I don't know in which version those changes were publicly available.
Do you have the last version of uFrame?
Re: ScrollViewer touch events on iOS not firing
I'm using the latest version of uFrame (v1.51r2) from the Unity Asset Store. I compared the files against the ones on Github, and the uFrame files are different. I've sent an e-mail to uFrame support, so hopefully they can help me get a version of uFrame that's using the latest UnityMVVM files.
Re: ScrollViewer touch events on iOS not firing
Good news! While I haven't heard back from uFrame support, I did modify all of uFrame's UnityMVVM files and changed their namespaces. This allowed uFrame to use its own version of the files, while allowing me to update Noesisgui to v1.2.3 (and Unity 5!).
Now you can just work on fixing ScrollViewer events for the latest version.
Now you can just work on fixing ScrollViewer events for the latest version.
Re: ScrollViewer touch events on iOS not firing
Hi, just checking to see if there's any update on the status of this issue...
Re: ScrollViewer touch events on iOS not firing
It is planned for the next version (1.2.4). The release was expected to happen this week, but we are a bit delayed because we are also working in the v1.3 branch.
Who is online
Users browsing this forum: Ahrefs [Bot] and 12 guests