Skip to content
This repository was archived by the owner on Nov 29, 2022. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Examples/Sample/ScrollView Example/ScrollViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ - (void)viewDidAppear:(BOOL)animated
- (void)viewWillDisappear:(BOOL)animated
{
[super viewWillDisappear:animated];

// will crash when controller disappear
self.scrollView.segmentedControl = nil;
}

- (void)viewDidDisappear:(BOOL)animated
Expand Down