diff options
Diffstat (limited to 'Xamarin.Forms.Platform.iOS/NativeViewPropertyListener.cs')
-rw-r--r-- | Xamarin.Forms.Platform.iOS/NativeViewPropertyListener.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.iOS/NativeViewPropertyListener.cs b/Xamarin.Forms.Platform.iOS/NativeViewPropertyListener.cs index 2d872af2..4e6601ef 100644 --- a/Xamarin.Forms.Platform.iOS/NativeViewPropertyListener.cs +++ b/Xamarin.Forms.Platform.iOS/NativeViewPropertyListener.cs @@ -17,8 +17,10 @@ namespace Xamarin.Forms.Platform.iOS public override void ObserveValue(NSString keyPath, NSObject ofObject, NSDictionary change, IntPtr context) { - if (keyPath == TargetProperty) + if (keyPath.ToString().Equals(TargetProperty, StringComparison.InvariantCultureIgnoreCase)) PropertyChanged?.Invoke(ofObject, new PropertyChangedEventArgs(TargetProperty)); + else + base.ObserveValue(keyPath, ofObject, change, context); } } } |