替换imagePicker库

1.原先为WPMediaPicker 替换为QBImagePickerController
2.以解决添加图片崩溃 内存泄漏 问题.
This commit is contained in:
Pikachuode
2015-12-22 13:21:33 +08:00
parent 81ae6a4752
commit e4bb7d3d94
27 changed files with 779 additions and 741 deletions

View File

@@ -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;