|
@@ -22,6 +22,8 @@
|
|
|
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *tableBottomConstraint;
|
|
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *tableBottomConstraint;
|
|
|
@property (nonatomic,assign) BOOL showTable;
|
|
@property (nonatomic,assign) BOOL showTable;
|
|
|
@property (nonatomic,strong) NSIndexPath *editingIndexPath;
|
|
@property (nonatomic,strong) NSIndexPath *editingIndexPath;
|
|
|
|
|
+@property (strong, nonatomic) IBOutlet NSLayoutConstraint *toolBarheightConstraint;
|
|
|
|
|
+@property (strong, nonatomic) IBOutlet UIToolbar *searchToolbar;
|
|
|
|
|
|
|
|
@end
|
|
@end
|
|
|
|
|
|
|
@@ -62,6 +64,13 @@
|
|
|
|
|
|
|
|
self.table.tableFooterView = [UIView new];
|
|
self.table.tableFooterView = [UIView new];
|
|
|
self.searchaBar.delegate = self;
|
|
self.searchaBar.delegate = self;
|
|
|
|
|
+
|
|
|
|
|
+ if ([self.function_name isEqualToString:@"Download Document"]) {
|
|
|
|
|
+ self.toolBarheightConstraint.constant = 0;
|
|
|
|
|
+ [self.view layoutIfNeeded];
|
|
|
|
|
+ self.searchToolbar.hidden = YES;
|
|
|
|
|
+ self.showTable = YES;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- (void)viewWillDisappear:(BOOL)animated {
|
|
- (void)viewWillDisappear:(BOOL)animated {
|