1
在右上角有禁用的发布按钮。我如何更改文字或手动启用它?如何访问SLComposeViewController中的POST按钮?
navigationBar.rightBarButtonItem?.enabled = true
不工作
在右上角有禁用的发布按钮。我如何更改文字或手动启用它?如何访问SLComposeViewController中的POST按钮?
navigationBar.rightBarButtonItem?.enabled = true
不工作
它可以启用或通过电话validateContent()
随时禁用它:
override func isContentValid() -> Bool {
super.isContentValid()
//valdate your SLComposeViewController here
}
isContentValid()
被称为validateContent()
。
男人,你救了我的生命hahahaha tnks! –
谢谢!!!这项工作对我来说 –