2013-07-28 24 views

回答

1

你想要做的是創造和模態顯示視圖控制器。

要做到這一點,你必須將其財產modalPresentationStyle通過調用方法

–presentViewController:animated:completion: 
在其父親的iOS < 6.0

– presentModalViewController:animated: 

設置爲

vc.modalPresentationStyle = UIModalPresentationFormSheet 

和表演

它必須包含分組表格視圖,裏面填充了適當的選項