This commit is contained in:
pengguangjian 2024-11-11 15:51:47 +08:00
parent 03c19a5b36
commit 364693e4ad
10 changed files with 50 additions and 9 deletions

View File

@ -5296,7 +5296,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = ProductApp/ProductApp.entitlements; CODE_SIGN_ENTITLEMENTS = ProductApp/ProductApp.entitlements;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1; CURRENT_PROJECT_VERSION = 4;
DEVELOPMENT_TEAM = D5PBFE23SF; DEVELOPMENT_TEAM = D5PBFE23SF;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
@ -5327,6 +5327,7 @@
); );
INFOPLIST_FILE = ProductApp/Info.plist; INFOPLIST_FILE = ProductApp/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "极光写作"; INFOPLIST_KEY_CFBundleDisplayName = "极光写作";
INFOPLIST_KEY_NSCalendarsUsageDescription = "极光写作需要使用日历功能";
INFOPLIST_KEY_NSCameraUsageDescription = "极光写作拍照写作、作文批改、课堂批改和意见反馈上传图片需要使用相机"; INFOPLIST_KEY_NSCameraUsageDescription = "极光写作拍照写作、作文批改、课堂批改和意见反馈上传图片需要使用相机";
INFOPLIST_KEY_NSContactsUsageDescription = "极光写作AI助手聊天需要使用通讯录"; INFOPLIST_KEY_NSContactsUsageDescription = "极光写作AI助手聊天需要使用通讯录";
INFOPLIST_KEY_NSLocationAlwaysUsageDescription = "极光写作AI助手聊天需要使用位置信息"; INFOPLIST_KEY_NSLocationAlwaysUsageDescription = "极光写作AI助手聊天需要使用位置信息";
@ -5366,7 +5367,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = ProductApp/ProductApp.entitlements; CODE_SIGN_ENTITLEMENTS = ProductApp/ProductApp.entitlements;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1; CURRENT_PROJECT_VERSION = 4;
DEVELOPMENT_TEAM = D5PBFE23SF; DEVELOPMENT_TEAM = D5PBFE23SF;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
@ -5397,6 +5398,7 @@
); );
INFOPLIST_FILE = ProductApp/Info.plist; INFOPLIST_FILE = ProductApp/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "极光写作"; INFOPLIST_KEY_CFBundleDisplayName = "极光写作";
INFOPLIST_KEY_NSCalendarsUsageDescription = "极光写作需要使用日历功能";
INFOPLIST_KEY_NSCameraUsageDescription = "极光写作拍照写作、作文批改、课堂批改和意见反馈上传图片需要使用相机"; INFOPLIST_KEY_NSCameraUsageDescription = "极光写作拍照写作、作文批改、课堂批改和意见反馈上传图片需要使用相机";
INFOPLIST_KEY_NSContactsUsageDescription = "极光写作AI助手聊天需要使用通讯录"; INFOPLIST_KEY_NSContactsUsageDescription = "极光写作AI助手聊天需要使用通讯录";
INFOPLIST_KEY_NSLocationAlwaysUsageDescription = "极光写作AI助手聊天需要使用位置信息"; INFOPLIST_KEY_NSLocationAlwaysUsageDescription = "极光写作AI助手聊天需要使用位置信息";

Binary file not shown.

Before

Width:  |  Height:  |  Size: 373 KiB

After

Width:  |  Height:  |  Size: 333 KiB

View File

@ -13,11 +13,8 @@
<key>com.apple.developer.icloud-services</key> <key>com.apple.developer.icloud-services</key>
<array> <array>
<string>CloudDocuments</string> <string>CloudDocuments</string>
<string>CloudKit</string>
</array> </array>
<key>com.apple.developer.ubiquity-container-identifiers</key> <key>com.apple.developer.ubiquity-container-identifiers</key>
<array/> <array/>
<key>com.apple.developer.ubiquity-kvstore-identifier</key>
<string>$(TeamIdentifierPrefix)$(CFBundleIdentifier)</string>
</dict> </dict>
</plist> </plist>

View File

@ -14,6 +14,10 @@ static LoadAlterView *viewshow;
@interface LoadAlterView () @interface LoadAlterView ()
@property (nonatomic , strong) PAGView *pagView; @property (nonatomic , strong) PAGView *pagView;
///
@property (nonatomic , strong) NSTimer *timer;
@end @end
@implementation LoadAlterView @implementation LoadAlterView
@ -63,9 +67,26 @@ static LoadAlterView *viewshow;
make.centerX.equalTo(viewback); make.centerX.equalTo(viewback);
}]; }];
self.timer = [NSTimer scheduledTimerWithTimeInterval:180 target:self selector:@selector(timedismis) userInfo:nil repeats:NO];
} }
return self; return self;
} }
-(void)timedismis
{
dispatch_async(dispatch_get_main_queue(), ^{
if(viewshow){
if(viewshow.pagView.isPlaying)
{
[viewshow.pagView stop];
[viewshow.pagView freeCache];
}
[viewshow removeFromSuperview];
viewshow = nil;
}
});
}
+(void)show +(void)show
{ {
@ -83,6 +104,9 @@ static LoadAlterView *viewshow;
dispatch_async(dispatch_get_main_queue(), ^{ dispatch_async(dispatch_get_main_queue(), ^{
if(viewshow) if(viewshow)
{ {
[viewshow.timer invalidate];
viewshow.timer = nil;
if(viewshow.pagView.isPlaying) if(viewshow.pagView.isPlaying)
{ {
[viewshow.pagView stop]; [viewshow.pagView stop];

View File

@ -44,7 +44,10 @@
make.top.offset(NavHeight-20); make.top.offset(NavHeight-20);
}]; }];
[btback addTarget:self action:@selector(backAction) forControlEvents:UIControlEventTouchUpInside]; [btback addTarget:self action:@selector(backAction) forControlEvents:UIControlEventTouchUpInside];
if(self.viewController.navigationController.viewControllers.count<=1)
{
[btback setHidden:YES];
}
UILabel *lbname = [[UILabel alloc] init]; UILabel *lbname = [[UILabel alloc] init];
[lbname setText:@"Hello"]; [lbname setText:@"Hello"];
@ -264,6 +267,10 @@
self.backValue(1); self.backValue(1);
} }
} }
-(void)backAction
{
[self.viewController.navigationController popViewControllerAnimated:YES];
}
-(void)xieyiAction:(UIButton *)sender -(void)xieyiAction:(UIButton *)sender
{ {
sender.selected = !sender.selected; sender.selected = !sender.selected;

View File

@ -59,6 +59,10 @@
}]; }];
[btback addTarget:self action:@selector(backAction) forControlEvents:UIControlEventTouchUpInside]; [btback addTarget:self action:@selector(backAction) forControlEvents:UIControlEventTouchUpInside];
if(self.viewController.navigationController.viewControllers.count<=1)
{
[btback setHidden:YES];
}
UILabel *lbname = [[UILabel alloc] init]; UILabel *lbname = [[UILabel alloc] init];
[lbname setText:@"Hello"]; [lbname setText:@"Hello"];

View File

@ -44,7 +44,10 @@
make.top.offset(NavHeight-20); make.top.offset(NavHeight-20);
}]; }];
[btback addTarget:self action:@selector(backAction) forControlEvents:UIControlEventTouchUpInside]; [btback addTarget:self action:@selector(backAction) forControlEvents:UIControlEventTouchUpInside];
if(self.viewController.navigationController.viewControllers.count<=1)
{
[btback setHidden:YES];
}
UILabel *lbname = [[UILabel alloc] init]; UILabel *lbname = [[UILabel alloc] init];
[lbname setText:@"Hello"]; [lbname setText:@"Hello"];
@ -266,6 +269,10 @@
} }
} }
-(void)backAction
{
[self.viewController.navigationController popViewControllerAnimated:YES];
}
-(void)xieyiAction:(UIButton *)sender -(void)xieyiAction:(UIButton *)sender
{ {
sender.selected = !sender.selected; sender.selected = !sender.selected;

View File

@ -162,7 +162,7 @@
/// ///
if(self.arrXZImages.count>0) if(self.arrXZImages.count>0)
{ {
if(self.modelPF==nil || self.modelContentItems==nil) if(fvalue>=0.98 && (self.modelPF==nil || self.modelContentItems==nil))
{ {
fvalue = 0.98; fvalue = 0.98;
} }

View File

@ -515,7 +515,7 @@
if(state) if(state)
{ {
self.arrFanWen = responseObject.data.items; self.arrFanWen = responseObject.data.items;
[self.tableView reloadSections:[NSIndexSet indexSetWithIndex:4] withRowAnimation:UITableViewRowAnimationFade]; [self.tableView reloadData];
} }
}]; }];
} }