Search code examples
xcodeipadios5uisplitviewcontroller

UISplitView crashing after selecting a row


I have a UISPlitViewController, I have a UITableView in my rootView and have a detailView, on select of second row in my rootView, what i am trying to do is: remove the UISplitViewController and add a new UISplitViewController (based on my requirement), so in the portrait mode when i select second row from the popOver, the application crashing? (but works well in landscape mode).


Solution

  • I'm 100% sure I can answer the question, but it would help if you posted some code. What code are you using now that is working for landscape but crashes in portrait?

    (I would've written this in a comment, but I need 50 rep for that).