diff options
author | Paul Gardiner <paul.gardiner@artifex.com> | 2014-01-07 15:13:07 +0000 |
---|---|---|
committer | Paul Gardiner <paul.gardiner@artifex.com> | 2014-01-07 16:30:11 +0000 |
commit | c6c015b84f6d74a55787f88d31cce67baacbdeef (patch) | |
tree | 6a7ea42d446f788a630eaa50a0a1cb2b077af86b /platform/ios/Classes | |
parent | 436e66014ca2433a9bf207b0f0db1d99085ad355 (diff) | |
download | mupdf-c6c015b84f6d74a55787f88d31cce67baacbdeef.tar.xz |
iOS: remove search-bar-transparency hack
Doesn’t work in iOS 7.1: removes the the whole text view
Diffstat (limited to 'platform/ios/Classes')
-rw-r--r-- | platform/ios/Classes/MuDocumentController.m | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/platform/ios/Classes/MuDocumentController.m b/platform/ios/Classes/MuDocumentController.m index 05a698e9..49448df1 100644 --- a/platform/ios/Classes/MuDocumentController.m +++ b/platform/ios/Classes/MuDocumentController.m @@ -170,8 +170,6 @@ static void flattenOutline(NSMutableArray *titles, NSMutableArray *pages, fz_out searchBar = [[UISearchBar alloc] initWithFrame: CGRectMake(0,0,50,32)]; [searchBar setPlaceholder: @"Search"]; [searchBar setDelegate: self]; - // HACK to make transparent background - [[searchBar.subviews objectAtIndex:0] removeFromSuperview]; [prevButton setEnabled: NO]; [nextButton setEnabled: NO]; |