0

Error hits this file . The app closes .

This happens when i open the app for the second time . If the app is already logged in and the master page is opened directly on which the badge is present.

Also add badge does not update the badge in IOS , works perfectly in android .

enter image description here

Krzysztof Madej
  • 32,704
  • 10
  • 78
  • 107
  • barButtonItem.ValueForKey(new NSString(@"view")) as UIView; . This returns null in View upon opening the application second time . – Learning To Enjoy Oct 21 '20 at 11:58
  • Hi, not too much understanding the `barButtonItem`. You could share the related code of forms and the full code of `BarButtonItemExtensions.cs`? – Junior Jiang Oct 22 '20 at 05:44
  • https://github.com/CrossGeeks/ToolbarItemBadgeSample . Code is picked up from this – Learning To Enjoy Oct 25 '20 at 06:45
  • Thanks for sharing the link, I will check that whether can reproduce it in my local site. – Junior Jiang Oct 26 '20 at 02:15
  • Hi, I have checked this sample in local site, not finding the same phenomenon in iOS device. Maybe you have modified some part code of your project, it will occur the different result. – Junior Jiang Oct 26 '20 at 02:57

0 Answers0