0
我使用RNBLueModalView呈現新模式的看法與下面的代碼:RNBLueModalView拋出LLDB錯誤
UIStoryboard *storyBoard = [UIStoryboard storyboardWithName:@"MainStoryboard_iPhone" bundle:[NSBundle mainBundle]];
smallStoreViewController *Store = [[smallStoreViewController alloc]init];
Store = [storyBoard instantiateViewControllerWithIdentifier:@"small store"];
RNBlurModalView *mod = [[RNBlurModalView alloc] initWithViewController:self view:Store.view];
[mod show];
有一個在smallStoreViewController視圖六個按鈕,但是當我按下任何人我越來越LLDB例外 - (按鈕名稱)發送到實例的無法識別的選擇器。當我使用default(presentedViewController
方法)呈現模態視圖時,一切正常。這是非常奇怪的行爲,因爲我在以前的項目中使用了這種方法,並且一切正常。
任何意見,我可以找到這種例外的原因?
您能否通過您的解決方案走過我?我有一個登錄viewcontroller A分配和inits * loginController。 RNBlurModal得到它並顯示它(沒有x)。我在視圖中有一個取消和確定按鈕。但是一旦顯示,視圖就不會激活。我如何解決它?我如何保留對* loginController的強大引用? – Jorgen 2014-03-31 15:09:15