mirror of
https://github.com/leanote/leanote-ios.git
synced 2025-10-21 03:11:20 +00:00
替换imagePicker库
1.原先为WPMediaPicker 替换为QBImagePickerController 2.以解决添加图片崩溃 内存泄漏 问题.
This commit is contained in:
@@ -13,12 +13,12 @@
|
||||
#import "Leas.h"
|
||||
|
||||
#import "LeaButtonForNavigationBar.h"
|
||||
#import <WordPress-iOS-Shared/UIImage+Util.h>
|
||||
#import <WordPress-iOS-Shared/WPFontManager.h>
|
||||
#import <WordPress-iOS-Shared/WPStyleGuide.h>
|
||||
#import <WordPress-iOS-Shared/WPTableViewCell.h>
|
||||
#import <WordPress-iOS-Shared/UITableViewTextFieldCell.h>
|
||||
#import <WordPress-iOS-Shared/WPTableViewSectionHeaderView.h>
|
||||
#import <WordPress-iOS-Shared/WordPressShared/UIImage+Util.h>
|
||||
#import <WordPress-iOS-Shared/WordPressShared/WPFontManager.h>
|
||||
#import <WordPress-iOS-Shared/WordPressShared/WPStyleGuide.h>
|
||||
#import <WordPress-iOS-Shared/WordPressShared/WPTableViewCell.h>
|
||||
#import <WordPress-iOS-Shared/WordPressShared/WPTextFieldTableViewCell.h>
|
||||
#import <WordPress-iOS-Shared/WordPressShared/WPTableViewSectionHeaderFooterView.h>
|
||||
|
||||
typedef enum {
|
||||
PostSettingsSectionTaxonomy = 0,
|
||||
@@ -225,7 +225,7 @@ typedef enum {
|
||||
|
||||
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
|
||||
{
|
||||
WPTableViewSectionHeaderView *header = [[WPTableViewSectionHeaderView alloc] initWithFrame:CGRectMake(0.0f, 0.0f, CGRectGetWidth(self.view.bounds), 0.0f)];
|
||||
WPTableViewSectionHeaderFooterView *header = [[WPTableViewSectionHeaderFooterView alloc] initWithFrame:CGRectMake(0.0f, 0.0f, CGRectGetWidth(self.view.bounds), 0.0f)];
|
||||
header.title = [self titleForHeaderInSection:section];
|
||||
header.backgroundColor = self.tableView.backgroundColor;
|
||||
return header;
|
||||
|
Reference in New Issue
Block a user