我只是更新我的montouch到xamarin.iOS 7.0.2。在此之前,我有这个代码在我的项目中:UIFont在monououch iOS 7.0.2
nameTextView .Font = new UIFont().WithSize (10);
但它现在不工作。
我面对这个错误:
Error CS0619: `MonoTouch.UIKit.UIFont.UIFont()' is obsolete: `This constructor does not return a valid, default, instance'
现在,我应该怎么用呢?