这就是我现在所拥有的:
但我更喜欢这样:
当我点击选项时,我将一个新的UIViewController
推入堆栈:
这就是我的configurationItems()
方法的样子:
override func configurationItems() -> [AnyObject]! {
let composeSheet = SLComposeSheetConfigurationItem()
composeSheet.title = "firstItem"
composeSheet.value = "defaultValue"
let composeSecondSheet = SLComposeSheetConfigurationItem()
composeSecondSheet.title = "secondItem"
return [composeSheet, composeSecondSheet]
}