mirror of
https://github.com/leanote/leanote-ios.git
synced 2025-10-18 01:16:58 +00:00
替换imagePicker库
1.原先为WPMediaPicker 替换为QBImagePickerController 2.以解决添加图片崩溃 内存泄漏 问题.
This commit is contained in:
@@ -8,13 +8,13 @@
|
||||
|
||||
#import "MeController.h"
|
||||
|
||||
#import <WordPress-iOS-Shared/WPStyleGuide.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/WPStyleGuide.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>
|
||||
|
||||
#import "LoginViewController.h"
|
||||
#import "UserService.h"
|
||||
@@ -362,7 +362,7 @@ NSArray *users;
|
||||
|
||||
- (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