Forum Libraries, Components, and Plugins
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

NullRefrenceException using Gunmetal Theme on Xamarin

Hello,
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?

Posts

  • 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.