diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2013-06-02 18:28:54 +0400 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2013-06-02 18:28:54 +0400 |
commit | 879122f8458ccbbb27a88ce170a2ec1fa68bd1e9 (patch) | |
tree | bcad8c1b5c075673acb616125af820a8b6a3e3f9 | |
parent | 2ccdd85a1da117cca9553658ac80ac8a9fa9108c (diff) |
MUCertificateViewController: fix toolbar styling.
-rw-r--r-- | Source/Classes/MUCertificateViewController.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Classes/MUCertificateViewController.m b/Source/Classes/MUCertificateViewController.m index 5361f1b..9cb5319 100644 --- a/Source/Classes/MUCertificateViewController.m +++ b/Source/Classes/MUCertificateViewController.m @@ -112,6 +112,8 @@ static const NSUInteger CertificateViewSectionTotal = 4; if (_allowExportAndDelete) { UIToolbar *toolbar = [[[UIToolbar alloc] initWithFrame:CGRectMake(0, 0, 125, 45)] autorelease]; [toolbar setBarStyle:UIBarStyleBlackOpaque]; + [toolbar setBackgroundImage:[[[UIImage alloc] init] autorelease] forToolbarPosition:UIToolbarPositionAny barMetrics:UIBarMetricsDefault]; + [toolbar setBackgroundColor:[UIColor clearColor]]; [toolbar setItems:[NSArray arrayWithObjects:actions, segmentedContainer, nil]]; UIBarButtonItem *toolbarContainer = [[[UIBarButtonItem alloc] initWithCustomView:toolbar] autorelease]; |