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.
我试图从 applicationWillEnterForeground:method 获取 UIbutton currentTile/titleLabel。即使我更改文本,它也会给出相同的结果。
您最好将 UIButton 的标题保存为数据成员,并尝试在 applicationWillEnterForeground 方法中获取标题。