NullRefrenceException using Gunmetal Theme on Xamarin

I'm using the Gunmetal Theme with Xamarin and while trying to upgrade my project to iOS7 I have a big issue.
When I use GunmetalTheme.Apply(textFeild) on some UITextFields I get a NullRefrenceException. This happens only on 3 XIBs (out of 10-15) and I always call this method in the ViewDidLoad. All the CSs and XIBs look similar so I can't understand what's the difference between them.
Does anybody know what I'm doing wrong?


  • MohammadBraeiMohammadBraei DEUniversity

    I have a similar problem. My app is working on a simulator but when I run it on IPAD, I get the same problem

Sign In or Register to comment.