Skip to content

Commit

Permalink
1.4.2 - Navigation toolbar should hide when user
Browse files Browse the repository at this point in the history
views title information from Search. It should
reappear after the user returns to the search view
  • Loading branch information
香風智乃 authored and 香風智乃 committed Jul 19, 2019
1 parent 2a04f08 commit 9e49266
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Shukofukurou-IOS copy-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.4.1</string>
<string>1.4.2</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
Expand All @@ -32,7 +32,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>20190716</string>
<string>20190719</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIBackgroundModes</key>
Expand Down
4 changes: 2 additions & 2 deletions Shukofukurou-IOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.4.1</string>
<string>1.4.2</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
Expand All @@ -32,7 +32,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>20190716</string>
<string>20190719</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIBackgroundModes</key>
Expand Down
5 changes: 5 additions & 0 deletions Shukofukurou-IOS/View Controllers/SearchViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ - (void)viewDidLoad {
[self setupsearch];
}

- (void)viewDidAppear:(BOOL)animated {
self.navigationController.toolbarHidden = NO;
}

- (void)setupsearch {
_searchController = [[UISearchController alloc] initWithSearchResultsController:nil];
_searchController.searchBar.placeholder = @"Search";
Expand Down Expand Up @@ -295,6 +299,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
else {
[characterdetailvc retrievePersonDetailsForID:titleid];
}
self.navigationController.toolbarHidden = YES;
}
}

Expand Down
2 changes: 1 addition & 1 deletion ShukofukurouScrobble/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundleShortVersionString</key>
<string>1.4.1</string>
<key>CFBundleVersion</key>
<string>20190716</string>
<string>20190719</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionAttributes</key>
Expand Down

0 comments on commit 9e49266

Please sign in to comment.