From c6c015b84f6d74a55787f88d31cce67baacbdeef Mon Sep 17 00:00:00 2001 From: Paul Gardiner Date: Tue, 7 Jan 2014 15:13:07 +0000 Subject: iOS: remove search-bar-transparency hack MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Doesn’t work in iOS 7.1: removes the the whole text view --- platform/ios/Classes/MuDocumentController.m | 2 -- 1 file changed, 2 deletions(-) (limited to 'platform/ios/Classes') 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]; -- cgit v1.2.3