6

iOS app 1.4.3, iOS 9.2.1

While viewing a post, the app somehow ended up in a state where it refuses to do much of anything.

What does work:

  • Swipe-scrolling vertically
  • Jumping to the previous / next post using the up / down buttons

Everything else, though, has no effect:

  • Swipe-scrolling horizontally will not return to the previous view
  • Tapping on a code block will not zoom to code-block view
  • Tapping Delete button to delete a post will show a confirmation dialog, but saying yes will not cause deletion
  • The Add Comment button brings up the text field, but I cannot type anything in it; I can only dismiss it
  • None of the other buttons (Share, More, etc.) do anything
  • Cannot view user profiles or revision history
  • Tapping on links in a post or comment will not show a web page
  • Tapping on a tag shows some visual feedback with a temporary color change, but doesn't do anything else

I still receive push notifications, but tapping on them doesn't take me anywhere.

5
  • Repro'd. Looks like things constrained to the current view controller work but anything involving another view controller fail. Maybe the result of an unbalanced transition? I'll try again on Monday when I can hook to a debugger.
    – Brian Nickel StaffMod
    Commented Jan 24, 2016 at 2:47
  • Killing the app did get me back to a usable state.
    – Brian Nickel StaffMod
    Commented Jan 24, 2016 at 2:54
  • I've been frantically tapping everything I can trying to reproduce this again with no success. I'm going to keep a lookout for it but if you notice any actions that reproduce this state, it'll be helpful.
    – Brian Nickel StaffMod
    Commented Jan 25, 2016 at 18:46
  • I accidentally created a duplicate of this issue — maybe it needs a more descriptive name, so it can be found via search?
    – Toadfish
    Commented Mar 1, 2016 at 0:05
  • @Toadfish Feel free to edit. Commented Mar 1, 2016 at 0:06

2 Answers 2

5

This will be fixed in 1.4.4.1, shipping early March.

It appears the SFSafariViewController swipe gesture in 9.2 breaks the view transitioning state. This should also be fixed in 9.3.

I'll also be applying this fix from the Apple forums for users still on 9.2:

SFSafariViewController *viewController = [[SFSafariViewController alloc] initWithURL:URL];
viewController.delegate = (id)delegate;

// There was a major bug in 9.2 where SFSafariViewController's swipe gesture broke the view controller hierarchy.
// This fix comes from https://forums.developer.apple.com/thread/29048#discussion-105377
if (SEIsAtLeastIOSVersion(9, 2) && !SEIsAtLeastIOSVersion(9, 3)) {
    viewController.modalPresentationStyle = UIModalPresentationOverFullScreen;
    UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:viewController];
    navigationController.navigationBarHidden = YES;
    return navigationController;
} else {
    return viewController;
}
1
  • Verified fixed in 1.4.4. Thanks! Commented Mar 11, 2016 at 2:29
3

Apologies for posting an answer but I don't have enough rep to post a comment.

The action that causes this behavior is a swipe in from the left to return to a question after following a link that opens the in-app browser.

Hope it helps!

4
  • Wait what? You've got 101 rep... :)
    – Zizouz212
    Commented Feb 1, 2016 at 2:13
  • Took a while to figure this out, but I just had an answer upvoted on another site, which bumped me to 200 rep on that site, which got me the "trusted" bonus of +100 rep on all sites. It's all in the timing, I suppose. :)
    – cajunc2
    Commented Feb 1, 2016 at 2:55
  • The association bonus is a lovely thing, isn't it :)
    – Zizouz212
    Commented Feb 1, 2016 at 2:56
  • Just confirmed the same reproing meta.stackoverflow.com/questions/315887/…. Good catch.
    – Brian Nickel StaffMod
    Commented Feb 2, 2016 at 6:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .