Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用以下代码以编程方式更改我的 ipad 应用程序按钮标题:
btnCompany.titleLabel.text = @"Groenhuysen";
但是当我运行代码时,我可以看到标题是:Groen..en
我该如何解决这个问题?
试试这个:
[btnCompany setTitle:@"Groenhuysen" forState: UIControlStateNormal];