Search found 1 match
- Tue Jun 26, 2018 9:31 am
- Forum: .NET
- Topic: TChart is not collcted by gc in xamrin.ios
- Replies: 1
- Views: 8073
TChart is not collcted by gc in xamrin.ios
in class TChart, there is such code: protected void initVars() { ... NSNotificationCenter.DefaultCenter.AddObserver((NSString)"UIDeviceOrientationDidChangedNotification", delegate { this.chart.Invalidate(); }); ... that code has two problems: 1. "UIDeviceOrientationDidChangedNotification" should be ...