calamitySoft / Interval-Training

Plays two notes and asks you to identify the interval between them.
http://www.calamitysoft.net/on-the-go-intervals/
Other
2 stars 2 forks source link

Disappearing answer after switching difficulty. #13

Closed loganmoseley closed 13 years ago

loganmoseley commented 14 years ago
  1. Switch difficulties.
  2. Press "Done" to flip back to Main.
  3. ---> The answer will sometimes be invisible. (Reloads when the UIScrollView is scrolled at all.)

I've seen this once.

calamitySoft commented 14 years ago

Does this mean the answer bar is invisible? Or if you switch difficulties after submitting an answer?

loganmoseley commented 14 years ago

I'm not sure what your second question is, but I'll say this: When switching difficulties all subviews (one individual answer) of the scroll view (answer picker) need to be removed, otherwise you end up with "Minor Third" (easy,#1) and "Minor Second" (hard,#1) being shown simultaneously. I believe the initialization of the new answer is somehow the cause of the disappearing.

So, it doesn't matter where in a question you are (picking or answered/before Next) when flipping back. The removal of old subviews and adding of news ones happens regardless of this state.

loganmoseley commented 13 years ago

We went with the arrow UI, so this is not an issue.