colevoss / 2-Pillars-App

0 stars 0 forks source link

Crash in Learn tab #7

Closed blainekasten closed 11 years ago

blainekasten commented 11 years ago

There is a crash right now if under the following steps:

  1. Open menu in Learn tab
  2. Select Sermons
  3. Select a sermon
  4. Open menu again
  5. Select Sermons again
  6. Select a sermon again and it'll crash

It crashes because each time you select an item in the side tab, it's creating a new instance of sermonViewController, but then it's trying to bring up the same sermonDetailController.

We need to decide on a solid design of how the work flow will go, then I will fix this.

blainekasten commented 11 years ago

Try setting the detailViewcontroller to nil when a the menu item is pressed. That may help so we aren't trying to present a view that already exists.

blainekasten commented 11 years ago

This is fixed by changing the sermon detail from presenting morally within the learn tab, to presenting its on view note navigation stack.