Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>In your viewDidLoad method you have</p> <pre><code>[self.someSuperview addSubview:self.labelContainerView]; </code></pre> <p>In your viewWillAppear you have</p> <pre><code>[self.labelContainerView addSubview:self.blankLabelView]; </code></pre> <p>Then in your animation you have</p> <pre><code>[self.blankLabelView removeFromSuperview]; [containerView addSubview:self.labelToTransition]; labelToTransition (label) not added to any view </code></pre> <p>I haven't used this transition effect before, but I'm trying to understand the view hierarchy:</p> <p>Initially (viewDidLoad and viewWillAppear) somSuperView |__>labelToContainerView</p> <pre><code>labelContainerView |__&gt;blankLabelView </code></pre> <p>Then through animation</p> <pre><code>containerView == labelContainerView |__&gt;labelToTransition (label) blankLabelView no longer in a view </code></pre> <p>The first thing I would say is your code is very hard to follow. Which view is the visible view? Are we supposed to assume it is <code>someSuperView</code>? It looks like the label ends up in <code>containerView</code>, so maybe that is the visible view? It's not clear what's going on with the code as you have written it.</p> <p>Can you update your question with the name of the visible "main" view and what subviews you expect to be visible before the transition? And then what is the visible "main" view after the transition, and what superviews you expect to be visible after the transition?</p> <p>When you say the flip is happening, could it be that you see something flipping, but it might not be the views that you are expecting to flip? Could this account for you not being able to see the subviews after the flip? And why do you say you can't see the subviews, plural? What I read sounds like you only expect to see the label after your flip is done. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload