Commit 145bda71 authored by Sandy's avatar Sandy

迁移到最新的xcode

parent b92b6842
...@@ -3271,6 +3271,7 @@ ...@@ -3271,6 +3271,7 @@
C1F696021AB870B400F9F5DD = { C1F696021AB870B400F9F5DD = {
CreatedOnToolsVersion = 6.2; CreatedOnToolsVersion = 6.2;
DevelopmentTeam = W54V2VB863; DevelopmentTeam = W54V2VB863;
ProvisioningStyle = Automatic;
SystemCapabilities = { SystemCapabilities = {
com.apple.BackgroundModes = { com.apple.BackgroundModes = {
enabled = 1; enabled = 1;
...@@ -4436,8 +4437,9 @@ ...@@ -4436,8 +4437,9 @@
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer: jie zhang (9V9955H2BK)"; CODE_SIGN_IDENTITY = "iPhone Developer: jie zhang (9V9955H2BK)";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: jie zhang (9V9955H2BK)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPYING_PRESERVES_HFS_DATA = NO; COPYING_PRESERVES_HFS_DATA = NO;
DEVELOPMENT_TEAM = "";
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
GCC_PREFIX_HEADER = "XFFruit/XFFruit-Prefix.pch"; GCC_PREFIX_HEADER = "XFFruit/XFFruit-Prefix.pch";
INFOPLIST_FILE = XFFruit/Info.plist; INFOPLIST_FILE = XFFruit/Info.plist;
...@@ -4450,7 +4452,8 @@ ...@@ -4450,7 +4452,8 @@
); );
PRODUCT_BUNDLE_IDENTIFIER = com.gomore.xffruit; PRODUCT_BUNDLE_IDENTIFIER = com.gomore.xffruit;
PRODUCT_NAME = XFFruit; PRODUCT_NAME = XFFruit;
PROVISIONING_PROFILE = "e2cec26c-3666-4512-9b9a-cdb4cd9da56d"; PROVISIONING_PROFILE = "";
PROVISIONING_PROFILE_SPECIFIER = "";
USER_HEADER_SEARCH_PATHS = "${SRCROOT}/**"; USER_HEADER_SEARCH_PATHS = "${SRCROOT}/**";
}; };
name = Debug; name = Debug;
...@@ -4461,8 +4464,9 @@ ...@@ -4461,8 +4464,9 @@
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Distribution: Shanghai Gomore Information Technology Co.,Ltd"; CODE_SIGN_IDENTITY = "iPhone Distribution: Shanghai Gomore Information Technology Co.,Ltd";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: Shanghai Gomore Information Technology Co.,Ltd"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPYING_PRESERVES_HFS_DATA = NO; COPYING_PRESERVES_HFS_DATA = NO;
DEVELOPMENT_TEAM = "";
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
GCC_PREFIX_HEADER = "XFFruit/XFFruit-Prefix.pch"; GCC_PREFIX_HEADER = "XFFruit/XFFruit-Prefix.pch";
INFOPLIST_FILE = XFFruit/Info.plist; INFOPLIST_FILE = XFFruit/Info.plist;
...@@ -4475,7 +4479,8 @@ ...@@ -4475,7 +4479,8 @@
); );
PRODUCT_BUNDLE_IDENTIFIER = com.gomore.xffruit; PRODUCT_BUNDLE_IDENTIFIER = com.gomore.xffruit;
PRODUCT_NAME = XFFruit; PRODUCT_NAME = XFFruit;
PROVISIONING_PROFILE = "e2cec26c-3666-4512-9b9a-cdb4cd9da56d"; PROVISIONING_PROFILE = "";
PROVISIONING_PROFILE_SPECIFIER = "";
USER_HEADER_SEARCH_PATHS = "${SRCROOT}/**"; USER_HEADER_SEARCH_PATHS = "${SRCROOT}/**";
}; };
name = Release; name = Release;
......
...@@ -37,6 +37,32 @@ ...@@ -37,6 +37,32 @@
<array> <array>
<string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationPortrait</string>
</array> </array>
<key>NSAppleMusicUsageDescription</key>
<string>App需要您的同意,才能访问媒体资料库</string>
<key>NSBluetoothPeripheralUsageDescription</key>
<string>App需要您的同意,才能访问蓝牙</string>
<key>NSCalendarsUsageDescription</key>
<string>App需要您的同意,才能访问日历</string>
<key>NSCameraUsageDescription</key>
<string>App需要您的同意,才能访问相机</string>
<key>NSHealthShareUsageDescription</key>
<string>App需要您的同意,才能访问健康分享</string>
<key>NSHealthUpdateUsageDescription</key>
<string>App需要您的同意,才能访问健康更新 </string>
<key>NSLocationAlwaysUsageDescription</key>
<string>App需要您的同意,才能始终访问位置</string>
<key>NSLocationUsageDescription</key>
<string>App需要您的同意,才能访问位置</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>App需要您的同意,才能在使用期间访问位置</string>
<key>NSMicrophoneUsageDescription</key>
<string>App需要您的同意,才能访问麦克风</string>
<key>NSMotionUsageDescription</key>
<string>App需要您的同意,才能访问运动与健身</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>App需要您的同意,才能访问相册</string>
<key>NSRemindersUsageDescription</key>
<string>App需要您的同意,才能访问提醒事项</string>
<key>UISupportedInterfaceOrientations~ipad</key> <key>UISupportedInterfaceOrientations~ipad</key>
<array> <array>
<string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationPortrait</string>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
@interface IBTRefreshTableView : IBTTableView @interface IBTRefreshTableView : IBTTableView
@property (assign, nonatomic) id <IBTScrollViewRefreshDelegate> refreshDelegate; @property (assign, nonatomic) id <IBTScrollViewRefreshDelegate> refreshDelegate;
@property (strong, nonatomic) UIRefreshControl *refreshControl; @property (strong, nonatomic) UIRefreshControl *refreshCtrl;
@property (strong, nonatomic) IBTScrollLoadMoreView *loadMoreView; @property (strong, nonatomic) IBTScrollLoadMoreView *loadMoreView;
- (void)scrollToTopAnimated:(BOOL)animated; - (void)scrollToTopAnimated:(BOOL)animated;
......
...@@ -56,8 +56,8 @@ ...@@ -56,8 +56,8 @@
[super didMoveToWindow]; [super didMoveToWindow];
if (!self.window) { if (!self.window) {
if (_refreshControl) { if (_refreshCtrl) {
[_refreshControl endRefreshing]; [_refreshCtrl endRefreshing];
} }
if (_refreshFooterView) { if (_refreshFooterView) {
...@@ -127,25 +127,25 @@ ...@@ -127,25 +127,25 @@
} }
- (void)addRefreshControlWithText:(NSString *)text { - (void)addRefreshControlWithText:(NSString *)text {
if (!_refreshControl) { if (!_refreshCtrl) {
self.refreshControl = [[UIRefreshControl alloc] init]; self.refreshCtrl = [[UIRefreshControl alloc] init];
[_refreshControl addTarget:self [_refreshCtrl addTarget:self
action:@selector(handleRefresh:) action:@selector(handleRefresh:)
forControlEvents:UIControlEventValueChanged]; forControlEvents:UIControlEventValueChanged];
} }
if (text.length > 0) { if (text.length > 0) {
_refreshControl.attributedTitle = [[NSAttributedString alloc] initWithString:text]; _refreshCtrl.attributedTitle = [[NSAttributedString alloc] initWithString:text];
} }
if (!_refreshControl.superview) { if (!_refreshCtrl.superview) {
[self addSubview:_refreshControl]; [self addSubview:_refreshCtrl];
} }
} }
- (void)removeRefreshControl { - (void)removeRefreshControl {
if (_refreshControl && _refreshControl.superview) { if (_refreshCtrl && _refreshCtrl.superview) {
[_refreshControl removeFromSuperview]; [_refreshCtrl removeFromSuperview];
} }
} }
...@@ -182,11 +182,11 @@ ...@@ -182,11 +182,11 @@
// } // }
// //
// if (textStr.length > 0) { // if (textStr.length > 0) {
// _refreshControl.attributedTitle = [[NSAttributedString alloc] initWithString:textStr]; // _refreshCtrl.attributedTitle = [[NSAttributedString alloc] initWithString:textStr];
// } // }
if (_refreshControl.refreshing) { if (_refreshCtrl.refreshing) {
[_refreshControl endRefreshing]; [_refreshCtrl endRefreshing];
// Fix ContentInset became -60 when UIRefreshController endRefreshing // Fix ContentInset became -60 when UIRefreshController endRefreshing
// http://stackoverflow.com/questions/20101572/ios7-uirefreshcontrol-changes-contentinset // http://stackoverflow.com/questions/20101572/ios7-uirefreshcontrol-changes-contentinset
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment