摘要: 由于iOS13.1要安装企业应用,url必须是https的,不能是http,这就要求我们的服务器要支持https: itms-services://?action=download-manifest&url=https://example.com/manifest.plist 完成以下操作,即可通过 阅读全文
posted @ 2020-09-02 18:11 代码始我快乐 阅读(8514) 评论(0) 推荐(1) 编辑
摘要: 1、打出ipa包 2、将shipperIOS解压出 .app包 3、cd 到 Payload 目录 4、执行命令行 :class-dump -H shipperIOS.app 5、获取编译完的文件 6、打开.h即可看到方法 阅读全文
posted @ 2020-08-20 14:46 代码始我快乐 阅读(2992) 评论(0) 推荐(0) 编辑
摘要: 一、SDK导入 二、创建 推送证书并将推送证书上传极光后台管理 三、TARGETS->Capabilities->Push Notifications 打开 四、代码 TRJPushHelper.h 极光推送相关API封装 // // TRJPushHelper.h #import <Foundat 阅读全文
posted @ 2018-01-24 14:29 代码始我快乐 阅读(1024) 评论(0) 推荐(0) 编辑
摘要: APPdelegate // // AppDelegate.m #import "AppDelegate.h" #import "RootViewController.h" //根控制器 #import "WelcomeViewController.h" //引导页 #import "LoginVi 阅读全文
posted @ 2018-01-22 15:01 代码始我快乐 阅读(6856) 评论(3) 推荐(0) 编辑
摘要: /* APP从后台转前台调用的方法 */ - (void)applicationDidBecomeActive:(UIApplication *)application { //获取本地保存的token NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults]; NSStr... 阅读全文
posted @ 2018-01-22 14:26 代码始我快乐 阅读(569) 评论(0) 推荐(0) 编辑
摘要: // // ViewController.m // 设置密码 #import "ViewController.h" #import "PasswordView.h" #define Color_RGB(a,b,c,d) [UIColor colorWithRed:(a)/255.0 green:(b)/255.0 blue:(c)/255.0 alpha:(d)] #de... 阅读全文
posted @ 2017-01-24 10:45 代码始我快乐 阅读(2973) 评论(0) 推荐(0) 编辑
摘要: viewController.h #import <UIKit/UIKit.h> @interface ViewController : UIViewController @property(nonatomic,strong)NSString *hello; @property(nonatomic, 阅读全文
posted @ 2017-01-16 14:01 代码始我快乐 阅读(229) 评论(0) 推荐(0) 编辑
摘要: git下载地址:git@github.com:lu459700780/UIBezierPath.git 演示: 阅读全文
posted @ 2017-01-16 13:48 代码始我快乐 阅读(797) 评论(0) 推荐(0) 编辑
摘要: 一、制作静态库文件 二、配置静态库文件 三、运行项目,生成静态库 1、用模拟器运行一次; 2、用真机运行一次; 四、静态库完成 libaMakeA.a >show in finder 五、将模拟器和真机的.a 合并 终端:wangyalu:~ wangyalu$ lipo -create /User 阅读全文
posted @ 2017-01-11 15:14 代码始我快乐 阅读(238) 评论(0) 推荐(0) 编辑
摘要: #ifndef PrefixHeader_pch #define PrefixHeader_pch //共同方法 #import "Common.h" #ifdef DEBUG #define DLog(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__); #else #d... 阅读全文
posted @ 2017-01-09 17:22 代码始我快乐 阅读(257) 评论(0) 推荐(0) 编辑