我想學習如何使用Xcode 4.5。從視圖切換回標籤欄視圖
我已經創建了一個標籤欄,並希望從標籤欄視圖(輪廓)到另一個視圖一個開關(設置標籤欄菜單內-not),並返回。我用下面的代碼去:
- (IBAction)goToProfile:(id)sender {
ProfileViewController * profile = [[ProfileViewController alloc] initWithNibName:nil bundle:nil];
[self presentViewController:profile animated:YES completion:nil];
它工作正常,去設置,但是當我回去的設置中查看到的資料,標籤欄菜單不見了。我怎樣才能回到配置文件視圖,並再次看到標籤欄?