当使用UIAlertController
时,如果我想用空标题和空消息呈现UIActionSheet
,标题和/或消息的预期放置框架将保留.
How do I change this so that I only present an ActionSheet
that reads:
Settings
Sign out
Cancel
?
谢谢
当使用UIAlertController
时,如果我想用空标题和空消息呈现UIActionSheet
,标题和/或消息的预期放置框架将保留.
How do I change this so that I only present an ActionSheet
that reads:
Settings
Sign out
Cancel
?
谢谢
当我用这段代码创建UIAlertController时,我没有标题间距.
[UIAlertController alertControllerWithTitle:nil
message:nil
preferredStyle:UIAlertControllerStyleActionSheet];
您是在传递标题和消息的nil还是空字符串?