移除不使用内容
30
Podfile
@@ -1,14 +1,12 @@
|
||||
# Uncomment the next line to define a global platform for your project
|
||||
platform :ios, '13.0'
|
||||
source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'
|
||||
|
||||
project 'YuMi.xcodeproj'
|
||||
|
||||
target 'YuMi' do
|
||||
use_frameworks!
|
||||
#pag动画
|
||||
pod 'libpag'
|
||||
pod 'Bugly'
|
||||
pod 'FBSDKLoginKit'
|
||||
pod 'FBSDKCoreKit'
|
||||
pod 'FBSDKShareKit'
|
||||
|
||||
# 滑动标签栏
|
||||
pod 'JXCategoryView'
|
||||
pod 'JXPagingView/Pager'
|
||||
@@ -37,30 +35,16 @@ target 'YuMi' do
|
||||
pod 'MJRefresh', '3.7.9'
|
||||
pod 'IQKeyboardManager'
|
||||
pod 'TZImagePickerController'
|
||||
#TRTC
|
||||
pod 'TXLiteAVSDK_TRTC'
|
||||
#vap礼物动画
|
||||
pod 'QGVAPlayer'
|
||||
#上传音乐
|
||||
pod 'CocoaAsyncSocket',:modular_headers => true
|
||||
|
||||
#声网
|
||||
|
||||
pod 'SSKeychain'
|
||||
pod 'Base64'
|
||||
#pop动画
|
||||
|
||||
pod 'pop'
|
||||
#云信
|
||||
pod 'NIMSDK_LITE', '~> 10.9.40'
|
||||
|
||||
pod 'GKCycleScrollView'
|
||||
pod 'SVGAPlayer'
|
||||
pod 'GoogleSignIn'
|
||||
pod 'mob_linksdk_pro'
|
||||
pod 'mob_sharesdk'
|
||||
pod 'mob_sharesdk/ShareSDKPlatforms/Apple'
|
||||
pod 'mob_sharesdk/ShareSDKExtension'
|
||||
|
||||
pod 'UMCommon', '7.5.3'
|
||||
pod 'UMDevice'
|
||||
pod 'ZLCollectionViewFlowLayout'
|
||||
pod 'TABAnimated'
|
||||
pod 'YuMi',:path=>'yum'
|
||||
|
163
Podfile.lock
@@ -14,78 +14,28 @@ PODS:
|
||||
- AFNetworking/Serialization (4.0.1)
|
||||
- AFNetworking/UIKit (4.0.1):
|
||||
- AFNetworking/NSURLSession
|
||||
- AppAuth (1.7.6):
|
||||
- AppAuth/Core (= 1.7.6)
|
||||
- AppAuth/ExternalUserAgent (= 1.7.6)
|
||||
- AppAuth/Core (1.7.6)
|
||||
- AppAuth/ExternalUserAgent (1.7.6):
|
||||
- AppAuth/Core
|
||||
- Base64 (1.1.2)
|
||||
- Bugly (2.6.1)
|
||||
- CocoaAsyncSocket (7.6.5)
|
||||
- FBAEMKit (14.1.0):
|
||||
- FBSDKCoreKit_Basics (= 14.1.0)
|
||||
- FBSDKCoreKit (14.1.0):
|
||||
- FBAEMKit (= 14.1.0)
|
||||
- FBSDKCoreKit_Basics (= 14.1.0)
|
||||
- FBSDKCoreKit_Basics (14.1.0)
|
||||
- FBSDKLoginKit (14.1.0):
|
||||
- FBSDKCoreKit (= 14.1.0)
|
||||
- FBSDKShareKit (14.1.0):
|
||||
- FBSDKCoreKit (= 14.1.0)
|
||||
- FFPopup (1.1.5)
|
||||
- FLAnimatedImage (1.0.17)
|
||||
- FlyVerifyCSDK (1.0.7)
|
||||
- GKCycleScrollView (1.2.3)
|
||||
- GoogleSignIn (7.1.0):
|
||||
- AppAuth (< 2.0, >= 1.7.3)
|
||||
- GTMAppAuth (< 5.0, >= 4.1.1)
|
||||
- GTMSessionFetcher/Core (~> 3.3)
|
||||
- GTMAppAuth (4.1.1):
|
||||
- AppAuth/Core (~> 1.7)
|
||||
- GTMSessionFetcher/Core (< 4.0, >= 3.3)
|
||||
- GTMSessionFetcher/Core (3.5.0)
|
||||
- IQKeyboardManager (6.5.19)
|
||||
- JXCategoryView (1.6.8)
|
||||
- JXPagingView/Pager (2.1.3)
|
||||
- libpag (4.4.32)
|
||||
- MarqueeLabel (4.4.0)
|
||||
- MarqueeLabel (4.5.3)
|
||||
- Masonry (1.1.0)
|
||||
- MBProgressHUD (1.2.0)
|
||||
- MJExtension (3.4.2)
|
||||
- MJRefresh (3.7.9)
|
||||
- mob_linksdk_pro (3.3.20):
|
||||
- MOBFoundation
|
||||
- mob_sharesdk (4.4.35):
|
||||
- mob_sharesdk/ShareSDK (= 4.4.35)
|
||||
- MOBFoundation (>= 3.2.9)
|
||||
- mob_sharesdk/ShareSDK (4.4.35):
|
||||
- MOBFoundation (>= 3.2.9)
|
||||
- mob_sharesdk/ShareSDKExtension (4.4.35):
|
||||
- mob_sharesdk/ShareSDK
|
||||
- MOBFoundation (>= 3.2.9)
|
||||
- mob_sharesdk/ShareSDKPlatforms/Apple (4.4.35):
|
||||
- mob_sharesdk/ShareSDK
|
||||
- MOBFoundation (>= 3.2.9)
|
||||
- MOBFoundation (20250528):
|
||||
- FlyVerifyCSDK (>= 0.0.7)
|
||||
- NIMSDK_LITE (10.9.42):
|
||||
- NIMSDK_LITE/NOS (= 10.9.42)
|
||||
- YXArtemis_XCFramework
|
||||
- NIMSDK_LITE/NOS (10.9.42):
|
||||
- YXArtemis_XCFramework
|
||||
- pop (1.0.12)
|
||||
- Protobuf (3.29.5)
|
||||
- QCloudCore (6.4.9):
|
||||
- QCloudCore/Default (= 6.4.9)
|
||||
- QCloudCore/Default (6.4.9):
|
||||
- QCloudTrack/Beacon (= 6.4.9)
|
||||
- QCloudCOSXML (6.4.9):
|
||||
- QCloudCOSXML/Default (= 6.4.9)
|
||||
- QCloudCOSXML/Default (6.4.9):
|
||||
- QCloudCore (= 6.4.9)
|
||||
- QCloudTrack/Beacon (6.4.9)
|
||||
- QGVAPlayer (1.0.19)
|
||||
- QCloudCore (6.5.1):
|
||||
- QCloudCore/Default (= 6.5.1)
|
||||
- QCloudCore/Default (6.5.1):
|
||||
- QCloudTrack/Beacon (= 6.5.1)
|
||||
- QCloudCOSXML (6.5.1):
|
||||
- QCloudCOSXML/Default (= 6.5.1)
|
||||
- QCloudCOSXML/Default (6.5.1):
|
||||
- QCloudCore (= 6.5.1)
|
||||
- QCloudTrack/Beacon (6.5.1)
|
||||
- ReactiveObjC (3.1.1)
|
||||
- SDCycleScrollView (1.82):
|
||||
- SDWebImage (>= 5.0.0)
|
||||
@@ -97,31 +47,15 @@ PODS:
|
||||
- SDWebImage/Core (~> 5.10)
|
||||
- SnapKit (5.7.1)
|
||||
- SSKeychain (1.4.1)
|
||||
- SSZipArchive (2.4.3)
|
||||
- SVGAPlayer (2.5.7):
|
||||
- SVGAPlayer/Core (= 2.5.7)
|
||||
- SVGAPlayer/ProtoFiles (= 2.5.7)
|
||||
- SVGAPlayer/Core (2.5.7):
|
||||
- SSZipArchive (>= 1.8.1)
|
||||
- SVGAPlayer/ProtoFiles
|
||||
- SVGAPlayer/ProtoFiles (2.5.7):
|
||||
- Protobuf (~> 3.4)
|
||||
- SZTextView (1.3.0)
|
||||
- TABAnimated (2.6.6)
|
||||
- TXLiteAVSDK_TRTC (12.6.18866):
|
||||
- TXLiteAVSDK_TRTC/TRTC (= 12.6.18866)
|
||||
- TXLiteAVSDK_TRTC/TRTC (12.6.18866)
|
||||
- TYCyclePagerView (1.2.0)
|
||||
- TZImagePickerController (3.8.9):
|
||||
- TZImagePickerController/Basic (= 3.8.9)
|
||||
- TZImagePickerController/Location (= 3.8.9)
|
||||
- TZImagePickerController/Basic (3.8.9)
|
||||
- TZImagePickerController/Location (3.8.9)
|
||||
- UMCommon (7.5.3):
|
||||
- UMDevice
|
||||
- UMDevice (3.4.0)
|
||||
- YuMi (0.0.1)
|
||||
- YXArtemis_XCFramework (1.1.6)
|
||||
- YYCache (1.0.4)
|
||||
- YYImage (1.0.4):
|
||||
- YYImage/Core (= 1.0.4)
|
||||
@@ -135,46 +69,29 @@ PODS:
|
||||
DEPENDENCIES:
|
||||
- AFNetworking
|
||||
- Base64
|
||||
- Bugly
|
||||
- CocoaAsyncSocket
|
||||
- FBSDKCoreKit
|
||||
- FBSDKLoginKit
|
||||
- FBSDKShareKit
|
||||
- FFPopup
|
||||
- FLAnimatedImage
|
||||
- GKCycleScrollView
|
||||
- GoogleSignIn
|
||||
- IQKeyboardManager
|
||||
- JXCategoryView
|
||||
- JXPagingView/Pager
|
||||
- libpag
|
||||
- MarqueeLabel
|
||||
- Masonry
|
||||
- MBProgressHUD
|
||||
- MJExtension (= 3.4.2)
|
||||
- MJRefresh (= 3.7.9)
|
||||
- mob_linksdk_pro
|
||||
- mob_sharesdk
|
||||
- mob_sharesdk/ShareSDKExtension
|
||||
- mob_sharesdk/ShareSDKPlatforms/Apple
|
||||
- NIMSDK_LITE (~> 10.9.40)
|
||||
- pop
|
||||
- QCloudCOSXML
|
||||
- QGVAPlayer
|
||||
- ReactiveObjC
|
||||
- SDCycleScrollView
|
||||
- SDWebImage (= 5.21.3)
|
||||
- SDWebImageFLPlugin
|
||||
- SnapKit (~> 5.0)
|
||||
- SSKeychain
|
||||
- SVGAPlayer
|
||||
- SZTextView
|
||||
- TABAnimated
|
||||
- TXLiteAVSDK_TRTC
|
||||
- TYCyclePagerView
|
||||
- TZImagePickerController
|
||||
- UMCommon (= 7.5.3)
|
||||
- UMDevice
|
||||
- YuMi (from `yum`)
|
||||
- YYText
|
||||
- YYWebImage
|
||||
@@ -183,57 +100,32 @@ DEPENDENCIES:
|
||||
SPEC REPOS:
|
||||
https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git:
|
||||
- AFNetworking
|
||||
- AppAuth
|
||||
- Base64
|
||||
- Bugly
|
||||
- CocoaAsyncSocket
|
||||
- FBAEMKit
|
||||
- FBSDKCoreKit
|
||||
- FBSDKCoreKit_Basics
|
||||
- FBSDKLoginKit
|
||||
- FBSDKShareKit
|
||||
- FFPopup
|
||||
- FLAnimatedImage
|
||||
- FlyVerifyCSDK
|
||||
- GKCycleScrollView
|
||||
- GoogleSignIn
|
||||
- GTMAppAuth
|
||||
- GTMSessionFetcher
|
||||
- IQKeyboardManager
|
||||
- JXCategoryView
|
||||
- JXPagingView
|
||||
- libpag
|
||||
- MarqueeLabel
|
||||
- Masonry
|
||||
- MBProgressHUD
|
||||
- MJExtension
|
||||
- MJRefresh
|
||||
- mob_linksdk_pro
|
||||
- mob_sharesdk
|
||||
- MOBFoundation
|
||||
- NIMSDK_LITE
|
||||
- pop
|
||||
- Protobuf
|
||||
- QCloudCore
|
||||
- QCloudCOSXML
|
||||
- QCloudTrack
|
||||
- QGVAPlayer
|
||||
- ReactiveObjC
|
||||
- SDCycleScrollView
|
||||
- SDWebImage
|
||||
- SDWebImageFLPlugin
|
||||
- SnapKit
|
||||
- SSKeychain
|
||||
- SSZipArchive
|
||||
- SVGAPlayer
|
||||
- SZTextView
|
||||
- TABAnimated
|
||||
- TXLiteAVSDK_TRTC
|
||||
- TYCyclePagerView
|
||||
- TZImagePickerController
|
||||
- UMCommon
|
||||
- UMDevice
|
||||
- YXArtemis_XCFramework
|
||||
- YYCache
|
||||
- YYImage
|
||||
- YYText
|
||||
@@ -246,64 +138,39 @@ EXTERNAL SOURCES:
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
AFNetworking: 3bd23d814e976cd148d7d44c3ab78017b744cd58
|
||||
AppAuth: d4f13a8fe0baf391b2108511793e4b479691fb73
|
||||
Base64: cecfb41a004124895a7bcee567a89bae5a89d49b
|
||||
Bugly: 217ac2ce5f0f2626d43dbaa4f70764c953a26a31
|
||||
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
|
||||
FBAEMKit: a899515e45476027f73aef377b5cffadcd56ca3a
|
||||
FBSDKCoreKit: 24f8bc8d3b5b2a8c5c656a1329492a12e8efa792
|
||||
FBSDKCoreKit_Basics: 6e578c9bdc7aa1365dbbbde633c9ebb536bcaa98
|
||||
FBSDKLoginKit: 787de205d524c3a4b17d527916f1d066e4361660
|
||||
FBSDKShareKit: b9c1cd1fa6a320a50f0f353cf30d589049c8db77
|
||||
FFPopup: a208dcee8db3e54ec4a88fcd6481f6f5d85b7a83
|
||||
FLAnimatedImage: bbf914596368867157cc71b38a8ec834b3eeb32b
|
||||
FlyVerifyCSDK: e0a13f11d4f29aca7fb7fdcff3f27e3b7ba2de5d
|
||||
GKCycleScrollView: 8ed79d2142e62895a701973358b6f94b661b4829
|
||||
GoogleSignIn: d4281ab6cf21542b1cfaff85c191f230b399d2db
|
||||
GTMAppAuth: f69bd07d68cd3b766125f7e072c45d7340dea0de
|
||||
GTMSessionFetcher: 5aea5ba6bd522a239e236100971f10cb71b96ab6
|
||||
IQKeyboardManager: c8665b3396bd0b79402b4c573eac345a31c7d485
|
||||
JXCategoryView: 262d503acea0b1278c79a1c25b7332ffaef4d518
|
||||
JXPagingView: afdd2e9af09c90160dd232b970d603cc6e7ddd0e
|
||||
libpag: 6e8253018ee4e7f310c8c07d9d9a89d7ae58ae27
|
||||
MarqueeLabel: d2388949ac58d587303178d56a792ba8a001b037
|
||||
MarqueeLabel: 0c57d4c6634e04a6d015af79f7c9a175b2309525
|
||||
Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
|
||||
MBProgressHUD: 3ee5efcc380f6a79a7cc9b363dd669c5e1ae7406
|
||||
MJExtension: e97d164cb411aa9795cf576093a1fa208b4a8dd8
|
||||
MJRefresh: ff9e531227924c84ce459338414550a05d2aea78
|
||||
mob_linksdk_pro: d6ac555e9bb8d2743a8634032a70ea1d34119a50
|
||||
mob_sharesdk: 409503324d18f231dd27b4d26428c0c168b20c36
|
||||
MOBFoundation: a1f193058aba95440dadeb799fb398ff92cfe45e
|
||||
NIMSDK_LITE: 67f6815667acefdc8f9969f8c955b5c1fab490df
|
||||
pop: d582054913807fd11fd50bfe6a539d91c7e1a55a
|
||||
Protobuf: 164aea2ae380c3951abdc3e195220c01d17400e0
|
||||
QCloudCore: 0e70cda608d1ac485e039e83be1c4a1197197e6b
|
||||
QCloudCOSXML: b7f0b9cac61780a03318d40367a879f8d7eb3d86
|
||||
QCloudTrack: cc101dd57be7f87bffc3f2fb692a781d5efeda98
|
||||
QGVAPlayer: a0bca68c9bd6f1c8de5ac2d10ddf98be6038cce9
|
||||
QCloudCore: 6f8c67b96448472d2c6a92b9cfe1bdb5abbb1798
|
||||
QCloudCOSXML: 92f50a787b4e8d9a7cb6ea8e626775256b4840a7
|
||||
QCloudTrack: 20b79388365b4c8ed150019c82a56f1569f237f8
|
||||
ReactiveObjC: 011caa393aa0383245f2dcf9bf02e86b80b36040
|
||||
SDCycleScrollView: a0d74c3384caa72bdfc81470bdbc8c14b3e1fbcf
|
||||
SDWebImage: 16309af6d214ba3f77a7c6f6fdda888cb313a50a
|
||||
SDWebImageFLPlugin: 72efd2cfbf565bc438421abb426f4bcf7b670754
|
||||
SnapKit: d612e99e678a2d3b95bf60b0705ed0a35c03484a
|
||||
SSKeychain: 55cc80f66f5c73da827e3077f02e43528897db41
|
||||
SSZipArchive: fe6a26b2a54d5a0890f2567b5cc6de5caa600aef
|
||||
SVGAPlayer: 318b85a78b61292d6ae9dfcd651f3f0d1cdadd86
|
||||
SZTextView: 094dc6acc9beec537685c545d6e3e0d4975174e1
|
||||
TABAnimated: 75fece541a774193565697c7a11539d3c6f631b3
|
||||
TXLiteAVSDK_TRTC: 09552a5bb5571c85c851d8dd858064724639f55e
|
||||
TYCyclePagerView: 2b051dade0615c70784aa34f40c646feeddb7344
|
||||
TZImagePickerController: 456f470b5dea97b37226ec7a694994a8663340b2
|
||||
UMCommon: 3b850836e8bc162b4e7f6b527d30071ed8ea75a1
|
||||
UMDevice: dcdf7ec167387837559d149fbc7d793d984faf82
|
||||
YuMi: 6c5f00f1eccbcea3304feae03cbe659025fdb9cb
|
||||
YXArtemis_XCFramework: d9a8b9439d7a6c757ed00ada53a6d2dd9b13f9c7
|
||||
YYCache: 8105b6638f5e849296c71f331ff83891a4942952
|
||||
YYImage: 1e1b62a9997399593e4b9c4ecfbbabbf1d3f3b54
|
||||
YYText: 5c461d709e24d55a182d1441c41dc639a18a4849
|
||||
YYWebImage: 5f7f36aee2ae293f016d418c7d6ba05c4863e928
|
||||
ZLCollectionViewFlowLayout: c99024652ce9f0c57d33ab53052c9b85e4a936b7
|
||||
|
||||
PODFILE CHECKSUM: 581cecb560110b972c7e8c7d4b01e24a5deaf833
|
||||
PODFILE CHECKSUM: 377abda18823bc4a29b1f0df9b0b4e424bd6f61c
|
||||
|
||||
COCOAPODS: 1.16.2
|
||||
|
@@ -1,21 +0,0 @@
|
||||
//
|
||||
// AppDelegate+ThirdConfig.h
|
||||
// YUMI
|
||||
//
|
||||
// Created by YUMI on 2021/9/13.
|
||||
//
|
||||
|
||||
#import "AppDelegate.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface AppDelegate (ThirdConfig)
|
||||
/// 初始化一些第三方配置
|
||||
- (void)initThirdConfig;
|
||||
/**
|
||||
设置广告页
|
||||
*/
|
||||
- (void)setupLaunchADView;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@@ -1,245 +0,0 @@
|
||||
//
|
||||
// AppDelegate+ThirdConfig.m
|
||||
// YUMI
|
||||
//
|
||||
// Created by YUMI on 2021/9/13.
|
||||
//
|
||||
|
||||
#import "AppDelegate+ThirdConfig.h"
|
||||
///Third
|
||||
#import <NIMSDK/NIMSDK.h>
|
||||
#import <ShareSDK/ShareSDK.h>
|
||||
#import <UserNotifications/UNUserNotificationCenter.h>
|
||||
#import <UserNotifications/UserNotifications.h>
|
||||
#import <MOBFoundation/MobSDK+Privacy.h>
|
||||
///Tool
|
||||
#import "YUMIConstant.h"
|
||||
#import "CustomAttachmentDecoder.h"
|
||||
#import "QEmotionHelper.h"
|
||||
#import "XPAdvertiseView.h"
|
||||
#import "XPAdImageTool.h"
|
||||
#import "YUMIMacroUitls.h"
|
||||
#import "AdvertiseModel.h"
|
||||
#import "XPWebViewController.h"
|
||||
#import "XPRoomViewController.h"
|
||||
#import "XCCurrentVCStackManager.h"
|
||||
#import "ClientConfig.h"
|
||||
#import <UserNotifications/UserNotifications.h>
|
||||
|
||||
#import <Bugly/Bugly.h>
|
||||
#import "BuglyManager.h"
|
||||
#import <UIKit/UIDevice.h>
|
||||
|
||||
#import "YuMi-swift.h"
|
||||
|
||||
UIKIT_EXTERN NSString * kYouMiNumberCountKey;
|
||||
UIKIT_EXTERN NSString * adImageName;
|
||||
|
||||
@implementation AppDelegate (ThirdConfig)
|
||||
|
||||
/// 初始化一些第三方配置
|
||||
- (void)initThirdConfig{
|
||||
[self setLanguage];
|
||||
[self configShareSDK];
|
||||
[self configNIMSDK];
|
||||
[self configBugly];
|
||||
[self registerNot];
|
||||
[self initEmojiData];
|
||||
}
|
||||
|
||||
-(void)setLanguage{
|
||||
UISemanticContentAttribute attribute = UISemanticContentAttributeForceLeftToRight;
|
||||
if (isMSRTL()) {
|
||||
attribute = UISemanticContentAttributeForceRightToLeft;
|
||||
}
|
||||
|
||||
[UIView appearance].semanticContentAttribute = attribute;
|
||||
[UISearchBar appearance].semanticContentAttribute = attribute;
|
||||
}
|
||||
|
||||
-(void)registerNot{
|
||||
if (@available(iOS 10.0, *)) {
|
||||
UNUserNotificationCenter *center = [UNUserNotificationCenter currentNotificationCenter];
|
||||
[center requestAuthorizationWithOptions:(UNAuthorizationOptionAlert | UNAuthorizationOptionBadge | UNAuthorizationOptionSound) completionHandler:^(BOOL granted, NSError * _Nullable error) {
|
||||
if (granted) {
|
||||
[center getNotificationSettingsWithCompletionHandler:^(UNNotificationSettings * _Nonnull settings) {
|
||||
if (settings.authorizationStatus == UNAuthorizationStatusAuthorized){
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[[UIApplication sharedApplication] registerForRemoteNotifications];
|
||||
});
|
||||
}
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
崩溃收集 Bugly
|
||||
*/
|
||||
|
||||
- (void) configBugly {
|
||||
// 使用 BuglyManager 统一管理 Bugly 配置
|
||||
#ifdef DEBUG
|
||||
[[BuglyManager sharedManager] configureWithAppId:@"c937fd00f7" debug:YES];
|
||||
#else
|
||||
[[BuglyManager sharedManager] configureWithAppId:@"8627948559" debug:NO];
|
||||
#endif
|
||||
}
|
||||
- (void)configNIMSDK {
|
||||
//推荐在程序启动的时候初始化 NIMSDK
|
||||
NSString *appKey = [[ClientConfig shareConfig].configInfo nimKey];
|
||||
if ([NSString isEmpty:appKey]) {
|
||||
appKey = KeyWithType(KeyType_NetEase);
|
||||
}
|
||||
|
||||
NIMSDKOption *option = [NIMSDKOption optionWithAppKey:appKey];
|
||||
#ifdef DEBUG
|
||||
option.apnsCername = @"pikoDevelopPush";
|
||||
#else
|
||||
option.apnsCername = @"newPiko";
|
||||
#endif
|
||||
|
||||
[[NIMSDK sharedSDK] registerWithOption:option];
|
||||
|
||||
// NIM SDK初始化
|
||||
[NIMCustomObject registerCustomDecoder:[[CustomAttachmentDecoder alloc] init]];
|
||||
[[NIMSDKConfig sharedConfig] setShouldSyncStickTopSessionInfos:YES];
|
||||
[NIMSDKConfig sharedConfig].shouldConsiderRevokedMessageUnreadCount = YES;
|
||||
|
||||
// cdn统计回调不触发
|
||||
[NIMSDKConfig sharedConfig].cdnTrackInterval = 0;
|
||||
|
||||
// 最小时间间隔设置为最小边界值
|
||||
[NIMSDKConfig sharedConfig].chatroomMessageReceiveMinInterval = 50;
|
||||
|
||||
#ifdef DEBUG
|
||||
[NIMSDKConfig sharedConfig].enabledHttpsForInfo = NO;
|
||||
[NIMSDKConfig sharedConfig].enabledHttpsForMessage = NO;
|
||||
#else
|
||||
// 生产环境启用HTTPS
|
||||
[NIMSDKConfig sharedConfig].enabledHttpsForInfo = YES;
|
||||
[NIMSDKConfig sharedConfig].enabledHttpsForMessage = YES;
|
||||
#endif
|
||||
}
|
||||
|
||||
- (void)configShareSDK {
|
||||
|
||||
// [PILineLoginManager registerLine];
|
||||
|
||||
[ShareSDK registPlatforms:^(SSDKRegister *platformsRegister) {
|
||||
///faceBook
|
||||
// [platformsRegister setupFacebookWithAppkey:@"1266232494209868" appSecret:@"c9b170b383f8be9cdf118823b8632821" displayName:YMLocalizedString(@"AppDelegate_ThirdConfig0")];
|
||||
[platformsRegister setupLineAuthType:SSDKAuthorizeTypeBoth];
|
||||
}];
|
||||
|
||||
NSString *isUpload = [[NSUserDefaults standardUserDefaults]valueForKey:@"kMobLinkUploadPrivacy"];
|
||||
if (isUpload == nil){
|
||||
[MobSDK uploadPrivacyPermissionStatus:YES onResult:nil];
|
||||
[[NSUserDefaults standardUserDefaults] setValue:@"YES" forKey:@"kMobLinkUploadPrivacy"];
|
||||
[[NSUserDefaults standardUserDefaults] synchronize];
|
||||
}
|
||||
}
|
||||
|
||||
#pragma mark - 表情
|
||||
- (void)initEmojiData {
|
||||
dispatch_async(dispatch_get_global_queue(0, 0), ^{
|
||||
NSArray * dicArray = [NSArray arrayWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"emoji" ofType:@"plist"]];
|
||||
NSDictionary * dic = [dicArray firstObject];
|
||||
NSArray * emojiArray = dic[@"data"];
|
||||
NSMutableArray * array = [NSMutableArray array];
|
||||
for (int i = 0; i < emojiArray.count; i++) {
|
||||
|
||||
NSDictionary * emotionDic = [emojiArray xpSafeObjectAtIndex:i];
|
||||
if (!emotionDic) continue;
|
||||
|
||||
UIImage * image = [UIImage imageNamed:emotionDic[@"file"]];
|
||||
QEmotion * info = [[QEmotion alloc] init];
|
||||
|
||||
info.displayName = emotionDic[@"tag"];
|
||||
info.identifier = emotionDic[@"id"];
|
||||
info.image = image;
|
||||
|
||||
[array addObject:info];
|
||||
}
|
||||
//在这里强烈建议先预加载一下表情
|
||||
QEmotionHelper *faceManager = [QEmotionHelper sharedEmotionHelper];
|
||||
faceManager.emotionArray = array;
|
||||
|
||||
// 清理 emoji 缓存,确保新的尺寸设置生效
|
||||
[QEmotionHelper clearEmojiCache];
|
||||
});
|
||||
}
|
||||
|
||||
#pragma mark - 广告
|
||||
|
||||
/**
|
||||
设置广告页
|
||||
*/
|
||||
- (void)setupLaunchADView {
|
||||
return;
|
||||
|
||||
NSUserDefaults * kUserDefaults = NSUserDefaults.standardUserDefaults;
|
||||
// 判断沙盒中是否存在广告图片,如果存在,直接显示
|
||||
NSString *adName = [kUserDefaults stringForKey:adImageName];
|
||||
NSString *filePath = [XPAdImageTool.shareImageTool getFilePathWithImageName:adName];
|
||||
BOOL isExist = [XPAdImageTool.shareImageTool isFileExistWithFilePath:filePath];
|
||||
|
||||
if (isExist) {// 图片存在
|
||||
// if ([kUserDefaults integerForKey:@"adShow"] > 4) {
|
||||
@kWeakify(self);
|
||||
AdvertiseModel *info = [XPAdImageTool.shareImageTool getAdInfoFromCacheInMainWith:adName];
|
||||
XPAdvertiseView *advertiseView = [[XPAdvertiseView alloc] initWithFrame:self.window.bounds];
|
||||
advertiseView.type = info.type;
|
||||
advertiseView.fileModel = info.fillVo;
|
||||
advertiseView.filePath = filePath;
|
||||
advertiseView.dismissHandler = ^(BOOL shouldJump) {
|
||||
@kStrongify(self)
|
||||
if (!shouldJump || info == nil) {
|
||||
return;
|
||||
}
|
||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
||||
[self advertiseJumpHandleWithInfo:info];
|
||||
});
|
||||
};
|
||||
[advertiseView show];
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// 闪屏广告跳转处理
|
||||
- (void)advertiseJumpHandleWithInfo:(AdvertiseModel *)info {
|
||||
if (UIApplication.sharedApplication.keyWindow != self.window) {
|
||||
//当前窗口不是主控制器所在窗口时,拦截跳转(目前可能情况时,闪屏后出现新人引导
|
||||
return;
|
||||
}
|
||||
|
||||
switch (info.type) {
|
||||
case SplashInfoSkipTypeRoom: {
|
||||
if (![[XPAdImageTool shareImageTool] isImLogin]) {
|
||||
return; // 必须登录后才可以跳转
|
||||
}
|
||||
// 跳转房间
|
||||
if (info.link.length > 0) {
|
||||
[XPRoomViewController openRoom:info.link viewController:[XCCurrentVCStackManager shareManager].getCurrentVC];
|
||||
}
|
||||
}
|
||||
break;
|
||||
case SplashInfoSkipTypeWeb:
|
||||
case SplashInfoSkipTypeWeb_CP:
|
||||
case SplashInfoSkipTypeWeb_Custom:
|
||||
case SplashInfoSkipTypeWeb_WeekStar: {
|
||||
// 跳转 H5
|
||||
if (info.link.length > 0) {
|
||||
XPWebViewController *webView = [[XPWebViewController alloc] initWithRoomUID:nil];
|
||||
webView.url = info.link;
|
||||
[[[XCCurrentVCStackManager shareManager]currentNavigationController] pushViewController:webView animated:YES];
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
@end
|
@@ -7,55 +7,23 @@
|
||||
|
||||
|
||||
#import "AppDelegate.h"
|
||||
#import <UMCommon/UMCommon.h>
|
||||
#import <MobLinkPro/MobLink.h>
|
||||
#import <MobLinkPro/MLSDKScene.h>
|
||||
#import "TabbarViewController.h"
|
||||
|
||||
#import "BaseNavigationController.h"
|
||||
#import "AppDelegate+ThirdConfig.h"
|
||||
#import <NIMSDK/NIMSDK.h>
|
||||
#import <AppTrackingTransparency/AppTrackingTransparency.h>
|
||||
#import "ClientConfig.h"
|
||||
#import <GoogleSignIn/GoogleSignIn.h>
|
||||
#import <GoogleSignIn/GoogleSignIn.h>
|
||||
#import "LoginViewController.h"
|
||||
#import "AccountModel.h"
|
||||
#import "YuMi-swift.h"
|
||||
#import "SessionViewController.h"
|
||||
#import "LoginFullInfoViewController.h"
|
||||
#import "UIView+VAP.h"
|
||||
#import "SocialShareManager.h"
|
||||
#import "EPSignatureColorGuideView.h"
|
||||
#import "EPEmotionColorStorage.h"
|
||||
|
||||
UIKIT_EXTERN NSString * const kOpenRoomNotification;
|
||||
|
||||
@interface AppDelegate ()<IMLSDKRestoreDelegate>
|
||||
@interface AppDelegate ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation AppDelegate
|
||||
|
||||
//日志接口
|
||||
void qg_VAP_Logger_handler(VAPLogLevel level, const char* file, int line, const char* func, NSString *module, NSString *format, ...) {
|
||||
|
||||
// 屏蔽 MP4 播放 log
|
||||
return;
|
||||
|
||||
// if (format.UTF8String == nil) {
|
||||
// NSLog(@"log包含非utf-8字符");
|
||||
// return;
|
||||
// }
|
||||
// if (level > VAPLogLevelDebug) {
|
||||
// va_list argList;
|
||||
// va_start(argList, format);
|
||||
// NSString* message = [[NSString alloc] initWithFormat:format arguments:argList];
|
||||
// file = [NSString stringWithUTF8String:file].lastPathComponent.UTF8String;
|
||||
// NSLog(@"<%@> %s(%@):%s [%@] - %@",@(level), file, @(line), func, module, message);
|
||||
// va_end(argList);
|
||||
// }
|
||||
}
|
||||
|
||||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
||||
|
||||
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
|
||||
@@ -65,18 +33,11 @@ void qg_VAP_Logger_handler(VAPLogLevel level, const char* file, int line, const
|
||||
self.window.rootViewController = launchScreenVC;
|
||||
[self.window makeKeyAndVisible];
|
||||
|
||||
[VAPView registerHWDLog:qg_VAP_Logger_handler];
|
||||
|
||||
///初始化一些 sdk配置
|
||||
[self initThirdConfig];
|
||||
[self initUM:application launchOptions:launchOptions];
|
||||
|
||||
@kWeakify(self);
|
||||
[[ClientConfig shareConfig] clientConfig:^{
|
||||
@kStrongify(self);
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[self loadMainPage];
|
||||
[self setupLaunchADView];
|
||||
});
|
||||
}];
|
||||
|
||||
@@ -113,16 +74,6 @@ void qg_VAP_Logger_handler(VAPLogLevel level, const char* file, int line, const
|
||||
#pragma clang diagnostic pop
|
||||
}
|
||||
|
||||
- (void)initUM:(UIApplication *)application
|
||||
launchOptions:(NSDictionary *)launchOptions {
|
||||
// 只有同意过了隐私协议 才初始化
|
||||
if ([[NSUserDefaults standardUserDefaults] objectForKey:@"kYouMinumbernnagna"]) {
|
||||
///初始化友盟
|
||||
[UMConfigure initWithAppkey:@"6434c6dfd64e686139618269"
|
||||
channel:@"appstore"];
|
||||
}
|
||||
[MobLink setDelegate:self];
|
||||
}
|
||||
|
||||
- (void)loadMainPage {
|
||||
AccountModel *accountModel = [[AccountInfoStorage instance] getCurrentAccountInfo];
|
||||
@@ -191,16 +142,9 @@ void qg_VAP_Logger_handler(VAPLogLevel level, const char* file, int line, const
|
||||
[[BaseNavigationController alloc] initWithRootViewController:lvc];
|
||||
navigationController.modalPresentationStyle = UIModalPresentationFullScreen;
|
||||
self.window.rootViewController = navigationController;
|
||||
|
||||
// 旧代码保留注释(便于回滚)
|
||||
// LoginViewController *lvc = [[LoginViewController alloc] init];
|
||||
// BaseNavigationController * navigationController = [[BaseNavigationController alloc] initWithRootViewController:lvc];
|
||||
// navigationController.modalPresentationStyle = UIModalPresentationFullScreen;
|
||||
// self.window.rootViewController = navigationController;
|
||||
}
|
||||
|
||||
- (void)toHomeTabbarPage {
|
||||
// ========== 白牌版本:使用新的 EPTabBarController ==========
|
||||
EPTabBarController *epTabBar = [EPTabBarController create];
|
||||
[epTabBar refreshTabBarWithIsLogin:YES];
|
||||
|
||||
@@ -209,31 +153,8 @@ void qg_VAP_Logger_handler(VAPLogLevel level, const char* file, int line, const
|
||||
window.rootViewController = epTabBar;
|
||||
[window makeKeyAndVisible];
|
||||
}
|
||||
|
||||
NSLog(@"[AppDelegate] 自动登录后已切换到白牌 TabBar:EPTabBarController");
|
||||
|
||||
// ========== 原代码(已注释) ==========
|
||||
/*
|
||||
TabbarViewController *vc = [[TabbarViewController alloc] init];
|
||||
BaseNavigationController *navigationController = [[BaseNavigationController alloc] initWithRootViewController:vc];
|
||||
self.window.rootViewController = navigationController;
|
||||
*/
|
||||
}
|
||||
|
||||
- (void)IMLSDKWillRestoreScene:(MLSDKScene *)scene
|
||||
Restore:(void (^)(BOOL, RestoreStyle))restoreHandler {
|
||||
NSString *inviteCode = scene.params[@"inviteCode"];
|
||||
if (inviteCode != nil && [[AccountInfoStorage instance]getUid].length == 0){
|
||||
ClientConfig *config = [ClientConfig shareConfig];
|
||||
config.inviteCode = inviteCode;
|
||||
}
|
||||
restoreHandler(YES, MLDefault);
|
||||
}
|
||||
|
||||
- (void)applicationDidEnterBackground:(UIApplication *)application {
|
||||
NSInteger count = [NIMSDK sharedSDK].conversationManager.allUnreadCount;
|
||||
[[UIApplication sharedApplication] setApplicationIconBadgeNumber:count];
|
||||
}
|
||||
|
||||
- (void)applicationDidBecomeActive:(UIApplication *)application {
|
||||
[self getAdvertisingTrackingAuthority];
|
||||
@@ -246,10 +167,8 @@ void qg_VAP_Logger_handler(VAPLogLevel level, const char* file, int line, const
|
||||
ATTrackingManagerAuthorizationStatus status = ATTrackingManager.trackingAuthorizationStatus;
|
||||
switch (status) {
|
||||
case ATTrackingManagerAuthorizationStatusDenied:
|
||||
// NSLog(@"用户拒绝IDFA");
|
||||
break;
|
||||
case ATTrackingManagerAuthorizationStatusAuthorized:
|
||||
// NSLog(@"用户允许IDFA");
|
||||
break;
|
||||
case ATTrackingManagerAuthorizationStatusNotDetermined: {
|
||||
// NSLog(@"用户未做选择或未弹窗IDFA");
|
||||
@@ -266,81 +185,6 @@ void qg_VAP_Logger_handler(VAPLogLevel level, const char* file, int line, const
|
||||
});
|
||||
}
|
||||
|
||||
- (void)application:(UIApplication *)app didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
|
||||
// 上传devicetoken至云信服务器。
|
||||
[[NIMSDK sharedSDK] updateApnsToken:deviceToken ];
|
||||
}
|
||||
|
||||
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler{
|
||||
|
||||
NSString *data = userInfo[@"data"];
|
||||
if(data){
|
||||
NSDictionary *dataDic = [data mj_JSONObject];
|
||||
NSString *userId = dataDic[@"uid"];
|
||||
if(userId){
|
||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
||||
[[NSNotificationCenter defaultCenter]postNotificationName:kOpenRoomNotification object:nil userInfo:@{@"type":@"kOpenChat",@"uid":userId,@"isNoAttention":@(YES)}];
|
||||
ClientConfig *config = [ClientConfig shareConfig];
|
||||
config.pushChatId = userId;
|
||||
|
||||
});
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
||||
NSString *userId = userInfo[@"uid"];
|
||||
if(userId){
|
||||
[[NSNotificationCenter defaultCenter]postNotificationName:kOpenRoomNotification object:nil userInfo:@{@"type":@"kOpenChat",@"uid":userId,@"isNoAttention":@(YES)}];
|
||||
ClientConfig *config = [ClientConfig shareConfig];
|
||||
config.pushChatId = userId;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
///URL Scheme跳转
|
||||
-(BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<NSString *,id> *)options{
|
||||
[[SocialShareManager sharedManager] handleURL:url];
|
||||
|
||||
return [GIDSignIn.sharedInstance handleURL:url];
|
||||
}
|
||||
|
||||
//- (void)__oldApplicationOpenURLMethod:(NSURL *)url {
|
||||
// NSString *text = [url query];
|
||||
// if(text.length){
|
||||
// NSMutableDictionary *paramsDict = [NSMutableDictionary dictionary];
|
||||
// NSArray *paramArray = [text componentsSeparatedByString:@"&"];
|
||||
// for (NSString *param in paramArray) {
|
||||
// if (param && param.length) {
|
||||
// NSArray *parArr = [param componentsSeparatedByString:@"="];
|
||||
// if (parArr.count == 2) {
|
||||
// [paramsDict setObject:parArr[1] forKey:parArr[0]];
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// if(paramsDict[@"type"] != nil){
|
||||
// NSInteger type = [paramsDict[@"type"] integerValue];
|
||||
// if (type == 2) {
|
||||
// NSString *uid = [NSString stringWithFormat:@"%@",paramsDict[@"uid"]];
|
||||
// [[NSNotificationCenter defaultCenter]postNotificationName:kOpenRoomNotification object:nil userInfo:@{@"uid":uid}];
|
||||
// ClientConfig *config = [ClientConfig shareConfig];
|
||||
// config.roomId = uid;
|
||||
// }else if(type == 7){
|
||||
// NSString *uid = [NSString stringWithFormat:@"%@",paramsDict[@"uid"]];
|
||||
// [[NSNotificationCenter defaultCenter]postNotificationName:kOpenRoomNotification object:nil userInfo:@{@"type":@"kOpenChat",@"uid":uid}];
|
||||
// ClientConfig *config = [ClientConfig shareConfig];
|
||||
// config.chatId = uid;
|
||||
// }else if (type == 8){
|
||||
// NSString *inviteCode = paramsDict[@"inviteCode"];
|
||||
// if (inviteCode != nil && [[AccountInfoStorage instance]getUid].length == 0){
|
||||
// ClientConfig *config = [ClientConfig shareConfig];
|
||||
// config.inviteCode = inviteCode;
|
||||
// }
|
||||
// }
|
||||
//// return YES;
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
#pragma mark - Core Data stack
|
||||
@synthesize managedObjectContext = _managedObjectContext;
|
||||
|
@@ -11,13 +11,10 @@
|
||||
#import "DESEncrypt.h"
|
||||
#import "YUMIConstant.h"
|
||||
#import <MJExtension/MJExtension.h>
|
||||
#import "XPRoomFaceTool.h"
|
||||
#import "NSString+Utils.h"
|
||||
#import "YYUtility.h"
|
||||
#import "XPWeakTimer.h"
|
||||
#import "Api+Main.h"
|
||||
#import "ChatFaceVo.h"
|
||||
#import "PublicRoomManager.h"
|
||||
|
||||
@interface ClientConfig ()
|
||||
///重试的次数 10次 如果你还是失败的话 那就算了 没办法了
|
||||
@@ -74,16 +71,7 @@
|
||||
NSString *json = model.faceJson.json;
|
||||
NSString *deJson = [DESEncrypt decryptUseDES:json key:KeyWithType(KeyType_FacePwdEncode)];
|
||||
NSDictionary *faceInitData = [deJson toJSONObject];
|
||||
model.faceInitData = faceInitData;
|
||||
if (faceInitData) {
|
||||
[XPRoomFaceTool shareFaceTool].version = [NSString stringWithFormat:@"%@",faceInitData[@"version"]];
|
||||
[XPRoomFaceTool shareFaceTool].zipMd5 = [[NSString stringWithFormat:@"%@",faceInitData[@"zipMd5"]] uppercaseString];
|
||||
[XPRoomFaceTool shareFaceTool].zipUrl = [NSString stringWithFormat:@"%@",faceInitData[@"zipUrl"]];
|
||||
///表情的数据保存本地
|
||||
[[XPRoomFaceTool shareFaceTool] saveFaceInfoList:faceInitData];
|
||||
///开始下载
|
||||
[[XPRoomFaceTool shareFaceTool] downFaceData];
|
||||
}
|
||||
|
||||
NSString *trtcAppId = @(model.trtcAppId).stringValue;
|
||||
NSString *curTtcKey = [[NSUserDefaults standardUserDefaults]valueForKey:@"kTrtcAppId"];
|
||||
if(curTtcKey == nil){
|
||||
@@ -99,7 +87,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
//是否展示公屏
|
||||
|
||||
NSString *serverVer = model.appStoreAuditNoticeVersion;
|
||||
NSString *shortVer = [YYUtility appVersion];
|
||||
model.hideNoticeVersion = [NSString versionCompareOldStr:serverVer andNewStr:shortVer];
|
||||
@@ -107,8 +95,6 @@
|
||||
self.configInfo = model;
|
||||
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:@"reloadAfterLoadConfig" object:nil];
|
||||
|
||||
[self requestFaceTabNewList];
|
||||
} else {
|
||||
if (self.retryCount < 10) {
|
||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
||||
@@ -120,14 +106,6 @@
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)requestFaceTabNewList {
|
||||
[Api faceTabNewList:^(BaseModel * _Nullable data, NSInteger code, NSString * _Nullable msg) {
|
||||
if (code == 200) {
|
||||
[[XPRoomFaceTool shareFaceTool] cacheChatFaces:data.data];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)clientConfig:(void(^)(void))finish {
|
||||
@kWeakify(self);
|
||||
[Api clientConfig:^(BaseModel * _Nullable data, NSInteger code, NSString * _Nullable msg) {
|
||||
@@ -135,140 +113,11 @@
|
||||
if (code == 200) {
|
||||
self.uiSetting = [AppUISetting modelWithJSON:data.data[@"appUiSetting"]];
|
||||
}
|
||||
// 无论如何都开始构建 tab image path 数组并进入首页
|
||||
[self prepareCustomUI];
|
||||
|
||||
if (finish) {
|
||||
finish();
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)prepareCustomUI {
|
||||
NSArray *defaultArray = @[@"", @"", @"", @"", @""];
|
||||
self.normalTabImageSource = defaultArray.mutableCopy;
|
||||
self.selectedTabImageSource = defaultArray.mutableCopy;
|
||||
|
||||
if (self.uiSetting) {
|
||||
NSArray *unselectIcons = @[
|
||||
self.uiSetting.homeUnSelectIcon ?: @"",
|
||||
self.uiSetting.gameUnSelectIcon ?: @"",
|
||||
self.uiSetting.dynamicUnSelectIcon ?: @"",
|
||||
self.uiSetting.msgUnSelectIcon ?: @"",
|
||||
self.uiSetting.mineUnSelectIcon ?: @""
|
||||
];
|
||||
|
||||
NSArray *selectIcons = @[
|
||||
self.uiSetting.homeSelectIcon ?: @"",
|
||||
self.uiSetting.gameSelectIcon ?: @"",
|
||||
self.uiSetting.dynamicSelectIcon ?: @"",
|
||||
self.uiSetting.msgSelectIcon ?: @"",
|
||||
self.uiSetting.mineSelectIcon ?: @""
|
||||
];
|
||||
|
||||
self.normalTabImageSource = unselectIcons.mutableCopy;
|
||||
self.selectedTabImageSource = selectIcons.mutableCopy;
|
||||
|
||||
[self loadNavigationAreaBG];
|
||||
[self loadTabbarBG];
|
||||
[self loadBGColor];
|
||||
} else {
|
||||
if (self.updateTabbarBG) {
|
||||
self.updateTabbarBG(kImage(@"tab_bar_bg"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
- (UIImage *)navigationAreaBG {
|
||||
if (!_navigationAreaBG) {
|
||||
return kImage(@"home_top_bg");
|
||||
} else {
|
||||
return _navigationAreaBG;
|
||||
}
|
||||
}
|
||||
|
||||
- (void)loadNavigationAreaBG {
|
||||
if (!_navigationAreaBGImageLoader) {
|
||||
_navigationAreaBGImageLoader = [[NetImageView alloc] init];
|
||||
}
|
||||
|
||||
@kWeakify(self);
|
||||
[self.navigationAreaBGImageLoader loadImageWithUrl:self.uiSetting.headIcon
|
||||
completion:^(UIImage * _Nullable image, NSURL * _Nonnull url) {
|
||||
@kStrongify(self);
|
||||
self.navigationAreaBG = image;
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:self.reloadNavigationAreaImageKey object:[image resizeTo:CGSizeMake(1125, 420)]];
|
||||
} fail:^(NSError * _Nonnull error) {}];
|
||||
}
|
||||
|
||||
- (void)loadTabbarBG {
|
||||
|
||||
if (!_tabbarBGImageLoader) {
|
||||
_tabbarBGImageLoader = [[NetImageView alloc] init];
|
||||
}
|
||||
|
||||
@kWeakify(self);
|
||||
[self.tabbarBGImageLoader loadImageWithUrl:self.uiSetting.navbar
|
||||
completion:^(UIImage * _Nullable image, NSURL * _Nonnull url) {
|
||||
@kStrongify(self);
|
||||
self.tabbarBGImage = image;
|
||||
if (self.updateTabbarBG) {
|
||||
self.updateTabbarBG(image);
|
||||
}
|
||||
} fail:^(NSError * _Nonnull error) {
|
||||
@kStrongify(self);
|
||||
if (self.updateTabbarBG) {
|
||||
self.updateTabbarBG(kImage(@"tab_bar_bg"));
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)loadBGColor {
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:self.reloadNavigationAreaImageKey
|
||||
object:nil];
|
||||
}
|
||||
|
||||
- (UIColor *)bgColor {
|
||||
if (self.uiSetting && ![NSString isEmpty:self.uiSetting.backgroundColor]) {
|
||||
return [DJDKMIMOMColor colorWithHexString:self.uiSetting.backgroundColor];
|
||||
}
|
||||
|
||||
return [DJDKMIMOMColor colorWithHexString:@"#FCF4DF"];
|
||||
}
|
||||
|
||||
- (NSString *)tabName:(NSInteger)tabIndex {
|
||||
return @[YMLocalizedString(@"TabbarViewController2"),
|
||||
YMLocalizedString(@"TabbarViewController6"),
|
||||
YMLocalizedString(@"TabbarViewController3"),
|
||||
YMLocalizedString(@"TabbarViewController4"),
|
||||
YMLocalizedString(@"TabbarViewController5")][tabIndex];
|
||||
}
|
||||
|
||||
- (NSString *)loadDefaultNormalTabImageName:(NSInteger)tabIndex {
|
||||
return @[@"tab_gameHome_normal",
|
||||
@"tab_gameHome_game_normal",
|
||||
@"tab_monents_normal",
|
||||
@"tab_message_normal",
|
||||
@"tab_mine_normal"][tabIndex];
|
||||
}
|
||||
|
||||
- (NSString *)loadDefaultSelectedTabImageName:(NSInteger)tabIndex {
|
||||
return @[@"tab_gameHome_selected",
|
||||
@"tab_gameHome_game_selected",
|
||||
@"tab_monents_select",
|
||||
@"tab_message_selected",
|
||||
@"tab_mine_selected"][tabIndex];
|
||||
}
|
||||
|
||||
- (NSString *)loadConfigNormalTabImagePath:(NSInteger)tabIndex {
|
||||
return [self.normalTabImageSource xpSafeObjectAtIndex:tabIndex];
|
||||
}
|
||||
|
||||
- (NSString *)loadConfigSelectedTabImagePath:(NSInteger)tabIndex {
|
||||
return [self.selectedTabImageSource xpSafeObjectAtIndex:tabIndex];
|
||||
}
|
||||
|
||||
- (BOOL)shouldDisplayCaptcha {
|
||||
return [self.configInfo captchaSwitch];
|
||||
}
|
||||
|
||||
@end
|
||||
|
@@ -8,7 +8,7 @@
|
||||
#import "XPAdvertiseView.h"
|
||||
#import "AppDelegate.h"
|
||||
//tool
|
||||
#import <SVGA.h>
|
||||
|
||||
#import <sys/sysctl.h>
|
||||
#import <sys/utsname.h>
|
||||
#import "YUMIMacroUitls.h"
|
||||
@@ -19,9 +19,8 @@ NSString *const adUrl = @"adUrl";
|
||||
// 广告显示的时间
|
||||
static int const showtime = 3;
|
||||
|
||||
@interface XPAdvertiseView() <SVGAPlayerDelegate>
|
||||
@interface XPAdvertiseView()
|
||||
|
||||
@property(nonatomic, strong) SVGAImageView *svgaView;
|
||||
|
||||
@property (nonatomic, strong) UIImageView *adView;//广告图片
|
||||
|
||||
@@ -175,78 +174,14 @@ static int const showtime = 3;
|
||||
|
||||
#pragma mark - Setter
|
||||
- (void)setFilePath:(NSString *)filePath {
|
||||
_filePath = filePath;
|
||||
_imageLoaders = @[].mutableCopy;
|
||||
if (self.type == SplashInfoSkipTypeWeb_CP || self.type == SplashInfoSkipTypeWeb_Custom || self.type == SplashInfoSkipTypeWeb_WeekStar) {
|
||||
_svgaView = [[SVGAImageView alloc] initWithFrame:CGRectMake(0, 0, KScreenWidth, KScreenHeight)];
|
||||
_svgaView.delegate = self;
|
||||
UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(onTapAdViewAction)];
|
||||
[_svgaView addGestureRecognizer:tap];
|
||||
// [self addSubview:_svgaView];
|
||||
[self insertSubview:_svgaView belowSubview:self.countdownButton];
|
||||
SVGAParser *p = [[SVGAParser alloc] init];
|
||||
@kWeakify(self);
|
||||
[p parseWithURL:[[NSURL alloc] initFileURLWithPath:filePath] completionBlock:^(SVGAVideoEntity * _Nullable videoItem) {
|
||||
@kStrongify(self);
|
||||
if (videoItem) {
|
||||
self.svgaView.autoPlay = YES;
|
||||
self.svgaView.clearsAfterStop = YES;
|
||||
self.svgaView.videoItem = videoItem;
|
||||
|
||||
if (self.fileModel) {
|
||||
[self updateSvgaImage:self.fileModel.avatar key:@"avatar"];
|
||||
[self updateSvgaImage:self.fileModel.picUrl key:@"gift"];
|
||||
[self updateSvgaImage:self.fileModel.avatar key:@"avatar_1"];
|
||||
[self updateSvgaImage:self.fileModel.loverAvatar key:@"avatar_2"];
|
||||
|
||||
[self updateSvgaText:[NSString stringWithFormat:@"ID: %@", self.fileModel.erbanNo] key:@"id"];
|
||||
[self updateSvgaText:self.fileModel.giftName key:@"name"];
|
||||
[self updateSvgaText:[NSString stringWithFormat:@"ID: %@", self.fileModel.erbanNo] key:@"id_1"];
|
||||
[self updateSvgaText:[NSString stringWithFormat:@"ID: %@", self.fileModel.loverErbanNo] key:@"id_2"];
|
||||
}
|
||||
[self.svgaView startAnimation];
|
||||
}
|
||||
} failureBlock:^(NSError * _Nullable error) {
|
||||
@kStrongify(self);
|
||||
UIImage *image = [UIImage imageWithContentsOfFile:filePath];
|
||||
self.adView.image = [image cutImage:[UIScreen mainScreen].bounds.size];
|
||||
}];
|
||||
} else {
|
||||
UIImage *image = [UIImage imageWithContentsOfFile:filePath];
|
||||
self.adView.image = [image cutImage:[UIScreen mainScreen].bounds.size];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)updateSvgaImage:(NSString *)imagePath key:(NSString *)key {
|
||||
if (self.svgaView && ![NSString isEmpty:imagePath] && ![NSString isEmpty:key]) {
|
||||
UIImage *image = [UIImage imageWithColor:[UIColor colorWithWhite:0.9 alpha:0.9] size:CGSizeMake(100, 100)];
|
||||
[self.svgaView setImage:image
|
||||
forKey:key];
|
||||
__block NetImageView *loader = [[NetImageView alloc] init];
|
||||
@kWeakify(self);
|
||||
@kWeakify(loader);
|
||||
[loader loadImageWithUrl:imagePath
|
||||
completion:^(UIImage * _Nullable image, NSURL * _Nonnull url) {
|
||||
@kStrongify(self);
|
||||
@kStrongify(loader);
|
||||
[self.svgaView setImage:image
|
||||
forKey:key];
|
||||
[self.imageLoaders removeObject:loader];
|
||||
}];
|
||||
[self.imageLoaders addObject:loader];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
- (void)updateSvgaText:(NSString *)content key:(NSString *)key {
|
||||
if (self.svgaView && ![NSString isEmpty:content] && ![NSString isEmpty:key]) {
|
||||
NSAttributedString *string = [[NSAttributedString alloc] initWithString:content
|
||||
attributes:@{
|
||||
NSFontAttributeName: kFontMedium(kGetScaleWidth(24)),
|
||||
NSForegroundColorAttributeName: UIColorFromRGB(0xFDF565)
|
||||
}];
|
||||
[self.svgaView setAttributedText:string
|
||||
forKey:key];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
- (void)setAdImage:(UIImage *)adImage {
|
||||
|
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
@@ -1,54 +0,0 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "chat_icon_emoji_black_l_normal@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "chat_icon_emoji_black_l_normal@2x-1.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "chat_icon_emoji_black_l_normal@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "chat_icon_emoji_black_l_normal@3x-1.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 1017 B |
Before Width: | Height: | Size: 973 B |
Before Width: | Height: | Size: 781 B |
Before Width: | Height: | Size: 781 B |
@@ -1,54 +0,0 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "chat_icon_more_black_l_normal@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "chat_icon_more_black_l_normal@2x-1.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "chat_icon_more_black_l_normal@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "chat_icon_more_black_l_normal@3x-1.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 677 B |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 653 B |
@@ -1,54 +0,0 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "chat_icon_keyboard_black_l_normal@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "chat_icon_keyboard_black_l_normal@2x-1.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "chat_icon_keyboard_black_l_normal@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "chat_icon_keyboard_black_l_normal@3x-1.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 986 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 856 B |
Before Width: | Height: | Size: 971 B |
@@ -1,54 +0,0 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "chat_icon_voice@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "chat_icon_voice_dark@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "chat_icon_voice@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "chat_icon_voice_dark@3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.4 KiB |
@@ -1,22 +0,0 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "compose_emotion_delete_highlighted.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "compose_emotion_delete_highlighted-1.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.2 KiB |
@@ -1,52 +0,0 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "white_rect.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "white_btn_dark.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 543 B |
Before Width: | Height: | Size: 83 B |
@@ -1,52 +0,0 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "white_rect.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "white_input_btn_dark.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 542 B |
Before Width: | Height: | Size: 83 B |
@@ -1,52 +0,0 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "white_input_press_btn.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "white_input_press_btn_dark.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.1 KiB |
@@ -1,131 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PopoEmoticons>
|
||||
<Catalog ID="default" Title="emoji" Icon="emoj_s_normal.png" IconPressed="emoj_s_pressed.png">
|
||||
<Emoticon ID="emoticon_emoji_01" Tag="[可爱]" File="emoji_01.png" />
|
||||
<Emoticon ID="emoticon_emoji_0" Tag="[大笑]" File="emoji_00.png" />
|
||||
<Emoticon ID="emoticon_emoji_02" Tag="[色]" File="emoji_02.png" />
|
||||
<Emoticon ID="emoticon_emoji_03" Tag="[嘘]" File="emoji_03.png" />
|
||||
<Emoticon ID="emoticon_emoji_04" Tag="[亲]" File="emoji_04.png" />
|
||||
<Emoticon ID="emoticon_emoji_05" Tag="[呆]" File="emoji_05.png" />
|
||||
<Emoticon ID="emoticon_emoji_06" Tag="[口水]" File="emoji_06.png" />
|
||||
<Emoticon ID="emoticon_emoji_145" Tag="[汗]" File="emoji_145.png" />
|
||||
<Emoticon ID="emoticon_emoji_07" Tag="[呲牙]" File="emoji_07.png" />
|
||||
<Emoticon ID="emoticon_emoji_08" Tag="[鬼脸]" File="emoji_08.png" />
|
||||
<Emoticon ID="emoticon_emoji_09" Tag="[害羞]" File="emoji_09.png" />
|
||||
<Emoticon ID="emoticon_emoji_10" Tag="[偷笑]" File="emoji_10.png" />
|
||||
<Emoticon ID="emoticon_emoji_11" Tag="[调皮]" File="emoji_11.png" />
|
||||
<Emoticon ID="emoticon_emoji_12" Tag="[可怜]" File="emoji_12.png" />
|
||||
<Emoticon ID="emoticon_emoji_13" Tag="[敲]" File="emoji_13.png" />
|
||||
<Emoticon ID="emoticon_emoji_14" Tag="[惊讶]" File="emoji_14.png" />
|
||||
<Emoticon ID="emoticon_emoji_15" Tag="[流感]" File="emoji_15.png" />
|
||||
<Emoticon ID="emoticon_emoji_16" Tag="[委屈]" File="emoji_16.png" />
|
||||
<Emoticon ID="emoticon_emoji_17" Tag="[流泪]" File="emoji_17.png" />
|
||||
<Emoticon ID="emoticon_emoji_18" Tag="[嚎哭]" File="emoji_18.png" />
|
||||
<Emoticon ID="emoticon_emoji_19" Tag="[惊恐]" File="emoji_19.png" />
|
||||
<Emoticon ID="emoticon_emoji_20" Tag="[怒]" File="emoji_20.png" />
|
||||
<Emoticon ID="emoticon_emoji_21" Tag="[酷]" File="emoji_21.png" />
|
||||
<Emoticon ID="emoticon_emoji_22" Tag="[不说]" File="emoji_22.png" />
|
||||
<Emoticon ID="emoticon_emoji_23" Tag="[鄙视]" File="emoji_23.png" />
|
||||
<Emoticon ID="emoticon_emoji_24" Tag="[阿弥陀佛]" File="emoji_24.png" />
|
||||
<Emoticon ID="emoticon_emoji_25" Tag="[奸笑]" File="emoji_25.png" />
|
||||
<Emoticon ID="emoticon_emoji_26" Tag="[睡着]" File="emoji_26.png" />
|
||||
<Emoticon ID="emoticon_emoji_27" Tag="[口罩]" File="emoji_27.png" />
|
||||
<Emoticon ID="emoticon_emoji_28" Tag="[努力]" File="emoji_28.png" />
|
||||
<Emoticon ID="emoticon_emoji_29" Tag="[抠鼻孔]" File="emoji_29.png" />
|
||||
<Emoticon ID="emoticon_emoji_30" Tag="[疑问]" File="emoji_30.png" />
|
||||
<Emoticon ID="emoticon_emoji_31" Tag="[怒骂]" File="emoji_31.png" />
|
||||
<Emoticon ID="emoticon_emoji_32" Tag="[晕]" File="emoji_32.png" />
|
||||
<Emoticon ID="emoticon_emoji_33" Tag="[呕吐]" File="emoji_33.png" />
|
||||
<Emoticon ID="emoticon_emoji_160" Tag="[拜一拜]" File="emoji_160.png" />
|
||||
<Emoticon ID="emoticon_emoji_161" Tag="[惊喜]" File="emoji_161.png" />
|
||||
<Emoticon ID="emoticon_emoji_162" Tag="[流汗]" File="emoji_162.png" />
|
||||
<Emoticon ID="emoticon_emoji_163" Tag="[卖萌]" File="emoji_163.png" />
|
||||
<Emoticon ID="emoticon_emoji_164" Tag="[默契眨眼]" File="emoji_164.png" />
|
||||
<Emoticon ID="emoticon_emoji_165" Tag="[烧香拜佛]" File="emoji_165.png" />
|
||||
<Emoticon ID="emoticon_emoji_166" Tag="[晚安]" File="emoji_166.png" />
|
||||
<Emoticon ID="emoticon_emoji_34" Tag="[强]" File="emoji_34.png" />
|
||||
<Emoticon ID="emoticon_emoji_35" Tag="[弱]" File="emoji_35.png" />
|
||||
<Emoticon ID="emoticon_emoji_36" Tag="[OK]" File="emoji_36.png" />
|
||||
<Emoticon ID="emoticon_emoji_37" Tag="[拳头]" File="emoji_37.png" />
|
||||
<Emoticon ID="emoticon_emoji_38" Tag="[胜利]" File="emoji_38.png" />
|
||||
<Emoticon ID="emoticon_emoji_39" Tag="[鼓掌]" File="emoji_39.png" />
|
||||
<Emoticon ID="emoticon_emoji_200" Tag="[握手]" File="emoji_200.png" />
|
||||
<Emoticon ID="emoticon_emoji_40" Tag="[发怒]" File="emoji_40.png" />
|
||||
<Emoticon ID="emoticon_emoji_41" Tag="[骷髅]" File="emoji_41.png" />
|
||||
<Emoticon ID="emoticon_emoji_42" Tag="[便便]" File="emoji_42.png" />
|
||||
<Emoticon ID="emoticon_emoji_43" Tag="[火]" File="emoji_43.png" />
|
||||
<Emoticon ID="emoticon_emoji_44" Tag="[溜]" File="emoji_44.png" />
|
||||
<Emoticon ID="emoticon_emoji_45" Tag="[爱心]" File="emoji_45.png" />
|
||||
<Emoticon ID="emoticon_emoji_46" Tag="[心碎]" File="emoji_46.png" />
|
||||
<Emoticon ID="emoticon_emoji_47" Tag="[钟情]" File="emoji_47.png" />
|
||||
<Emoticon ID="emoticon_emoji_48" Tag="[唇]" File="emoji_48.png" />
|
||||
<Emoticon ID="emoticon_emoji_49" Tag="[戒指]" File="emoji_49.png" />
|
||||
<Emoticon ID="emoticon_emoji_50" Tag="[钻石]" File="emoji_50.png" />
|
||||
<Emoticon ID="emoticon_emoji_51" Tag="[太阳]" File="emoji_51.png" />
|
||||
<Emoticon ID="emoticon_emoji_52" Tag="[有时晴]" File="emoji_52.png" />
|
||||
<Emoticon ID="emoticon_emoji_53" Tag="[多云]" File="emoji_53.png" />
|
||||
<Emoticon ID="emoticon_emoji_54" Tag="[雷]" File="emoji_54.png" />
|
||||
<Emoticon ID="emoticon_emoji_55" Tag="[雨]" File="emoji_55.png" />
|
||||
<Emoticon ID="emoticon_emoji_56" Tag="[雪花]" File="emoji_56.png" />
|
||||
<Emoticon ID="emoticon_emoji_57" Tag="[爱人]" File="emoji_57.png" />
|
||||
<Emoticon ID="emoticon_emoji_58" Tag="[帽子]" File="emoji_58.png" />
|
||||
<Emoticon ID="emoticon_emoji_59" Tag="[皇冠]" File="emoji_59.png" />
|
||||
<Emoticon ID="emoticon_emoji_60" Tag="[篮球]" File="emoji_60.png" />
|
||||
<Emoticon ID="emoticon_emoji_61" Tag="[足球]" File="emoji_61.png" />
|
||||
<Emoticon ID="emoticon_emoji_62" Tag="[垒球]" File="emoji_62.png" />
|
||||
<Emoticon ID="emoticon_emoji_63" Tag="[网球]" File="emoji_63.png" />
|
||||
<Emoticon ID="emoticon_emoji_64" Tag="[台球]" File="emoji_64.png" />
|
||||
<Emoticon ID="emoticon_emoji_65" Tag="[咖啡]" File="emoji_65.png" />
|
||||
<Emoticon ID="emoticon_emoji_66" Tag="[啤酒]" File="emoji_66.png" />
|
||||
<Emoticon ID="emoticon_emoji_67" Tag="[干杯]" File="emoji_67.png" />
|
||||
<Emoticon ID="emoticon_emoji_68" Tag="[柠檬汁]" File="emoji_68.png" />
|
||||
<Emoticon ID="emoticon_emoji_69" Tag="[餐具]" File="emoji_69.png" />
|
||||
<Emoticon ID="emoticon_emoji_70" Tag="[汉堡]" File="emoji_70.png" />
|
||||
<Emoticon ID="emoticon_emoji_71" Tag="[鸡腿]" File="emoji_71.png" />
|
||||
<Emoticon ID="emoticon_emoji_72" Tag="[面条]" File="emoji_72.png" />
|
||||
<Emoticon ID="emoticon_emoji_73" Tag="[冰淇淋]" File="emoji_73.png" />
|
||||
<Emoticon ID="emoticon_emoji_74" Tag="[沙冰]" File="emoji_74.png" />
|
||||
<Emoticon ID="emoticon_emoji_75" Tag="[生日蛋糕]" File="emoji_75.png" />
|
||||
<Emoticon ID="emoticon_emoji_76" Tag="[蛋糕]" File="emoji_76.png" />
|
||||
<Emoticon ID="emoticon_emoji_77" Tag="[糖果]" File="emoji_77.png" />
|
||||
<Emoticon ID="emoticon_emoji_78" Tag="[葡萄]" File="emoji_78.png" />
|
||||
<Emoticon ID="emoticon_emoji_79" Tag="[西瓜]" File="emoji_79.png" />
|
||||
<Emoticon ID="emoticon_emoji_80" Tag="[光碟]" File="emoji_80.png" />
|
||||
<Emoticon ID="emoticon_emoji_81" Tag="[手机]" File="emoji_81.png" />
|
||||
<Emoticon ID="emoticon_emoji_82" Tag="[电话]" File="emoji_82.png" />
|
||||
<Emoticon ID="emoticon_emoji_83" Tag="[电视]" File="emoji_83.png" />
|
||||
<Emoticon ID="emoticon_emoji_84" Tag="[声音开启]" File="emoji_84.png" />
|
||||
<Emoticon ID="emoticon_emoji_85" Tag="[声音关闭]" File="emoji_85.png" />
|
||||
<Emoticon ID="emoticon_emoji_86" Tag="[铃铛]" File="emoji_86.png" />
|
||||
<Emoticon ID="emoticon_emoji_87" Tag="[锁头]" File="emoji_87.png" />
|
||||
<Emoticon ID="emoticon_emoji_88" Tag="[放大镜]" File="emoji_88.png" />
|
||||
<Emoticon ID="emoticon_emoji_89" Tag="[灯泡]" File="emoji_89.png" />
|
||||
<Emoticon ID="emoticon_emoji_90" Tag="[锤头]" File="emoji_90.png" />
|
||||
<Emoticon ID="emoticon_emoji_91" Tag="[烟]" File="emoji_91.png" />
|
||||
<Emoticon ID="emoticon_emoji_92" Tag="[炸弹]" File="emoji_92.png" />
|
||||
<Emoticon ID="emoticon_emoji_93" Tag="[枪]" File="emoji_93.png" />
|
||||
<Emoticon ID="emoticon_emoji_94" Tag="[刀]" File="emoji_94.png" />
|
||||
<Emoticon ID="emoticon_emoji_95" Tag="[药]" File="emoji_95.png" />
|
||||
<Emoticon ID="emoticon_emoji_96" Tag="[打针]" File="emoji_96.png" />
|
||||
<Emoticon ID="emoticon_emoji_97" Tag="[钱袋]" File="emoji_97.png" />
|
||||
<Emoticon ID="emoticon_emoji_98" Tag="[钞票]" File="emoji_98.png" />
|
||||
<Emoticon ID="emoticon_emoji_99" Tag="[银行卡]" File="emoji_99.png" />
|
||||
<Emoticon ID="emoticon_emoji_100" Tag="[手柄]" File="emoji_100.png" />
|
||||
<Emoticon ID="emoticon_emoji_101" Tag="[麻将]" File="emoji_101.png" />
|
||||
<Emoticon ID="emoticon_emoji_102" Tag="[调色板]" File="emoji_102.png" />
|
||||
<Emoticon ID="emoticon_emoji_103" Tag="[电影]" File="emoji_103.png" />
|
||||
<Emoticon ID="emoticon_emoji_104" Tag="[麦克风]" File="emoji_104.png" />
|
||||
<Emoticon ID="emoticon_emoji_105" Tag="[耳机]" File="emoji_105.png" />
|
||||
<Emoticon ID="emoticon_emoji_106" Tag="[音乐]" File="emoji_106.png" />
|
||||
<Emoticon ID="emoticon_emoji_107" Tag="[吉他]" File="emoji_107.png" />
|
||||
<Emoticon ID="emoticon_emoji_108" Tag="[火箭]" File="emoji_108.png" />
|
||||
<Emoticon ID="emoticon_emoji_109" Tag="[飞机]" File="emoji_109.png" />
|
||||
<Emoticon ID="emoticon_emoji_110" Tag="[火车]" File="emoji_110.png" />
|
||||
<Emoticon ID="emoticon_emoji_111" Tag="[公交]" File="emoji_111.png" />
|
||||
<Emoticon ID="emoticon_emoji_112" Tag="[轿车]" File="emoji_112.png" />
|
||||
<Emoticon ID="emoticon_emoji_113" Tag="[出租车]" File="emoji_113.png" />
|
||||
<Emoticon ID="emoticon_emoji_114" Tag="[警车]" File="emoji_114.png" />
|
||||
<Emoticon ID="emoticon_emoji_115" Tag="[自行车]" File="emoji_115.png" />
|
||||
</Catalog>
|
||||
</PopoEmoticons>
|
||||
˜
|
Before Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 8.5 KiB |
Before Width: | Height: | Size: 8.9 KiB |
Before Width: | Height: | Size: 8.5 KiB |
Before Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 7.8 KiB |
Before Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 9.9 KiB |
Before Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 8.2 KiB |
Before Width: | Height: | Size: 8.9 KiB |
Before Width: | Height: | Size: 9.0 KiB |
Before Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 9.0 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 9.0 KiB |
Before Width: | Height: | Size: 8.5 KiB |