2012-09-28 161 views
2

当我以模态方式呈现FBUserSettingsViewController时,它有一个导航栏,上面有取消和完成栏按钮。FBUserSettingsViewController隐藏导航栏

如何隐藏它?

FBUserSettingsViewController *settings = PF_FBUserSettingsViewController.new; 
settings.delegate = self; 
[self presentViewController:settings animated:YES completion:nil]; 
+0

您是否找到了答案? – Chris

+0

不,据我了解,这款控制器的开发刚刚开始。 – Shmidt

+0

P.S.而我决定使用iOS6自然的FB登录。 – Shmidt

回答

1

您可以通过设置隐藏工具栏两个FBUserSettingsViewControllerdoneButtoncancelButton

self.settingsViewController.doneButton = nil; 
self.settingsViewController.cancelButton = nil; 

这已经在Facebook的SDK 3.2中得到验证。