摘要: 样例1: let temStr1 = "this is first sentence. this is second sentence." print(temStr1.capitalized) This Is First Sentence. This Is Second Sentence. 样例2: 阅读全文
posted @ 2022-09-25 00:33 仲长可倾 阅读(146) 评论(0) 推荐(0) 编辑
摘要: Starting with iOS 14, the SSID and BSSID of the currently connected Wi-Fi network can be obtained using the fetchCurrent(completionHandler:) method of 阅读全文
posted @ 2022-09-25 00:23 仲长可倾 阅读(511) 评论(0) 推荐(0) 编辑
摘要: In-app purchase statuses The in-app purchase status indicates whether your in-app purchase is available or if it needs your attention. In-app purchase 阅读全文
posted @ 2022-09-24 23:59 仲长可倾 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 结论: 不能 Submitting apps Apps that are created using beta versions of Xcode or that are built for beta versions of an operating system will not be accep 阅读全文
posted @ 2022-09-24 23:50 仲长可倾 阅读(98) 评论(0) 推荐(0) 编辑
摘要: Right click on your Info.plist; "Open As" -> "Source Code"; Search "CFBundleURLTypes", and delete that you want to delete; Clean and build; restart XC 阅读全文
posted @ 2021-11-17 11:28 仲长可倾 阅读(727) 评论(0) 推荐(0) 编辑
摘要: Unfortunately, that is the case. You cannot subclass a Swift class (even if it is a subclass of NSObject and available to the Objective-C runtime) bec 阅读全文
posted @ 2021-07-18 15:19 仲长可倾 阅读(871) 评论(0) 推荐(0) 编辑
摘要: 解决问题:替换不同字符串的多个相同部分,保留不同部分 实际案例:将项目中的所有图片调用方式换成自定义的方法 比如: 待换字符串: R.image.authorization_location_icon() R.image.authorization_push() R.image.authorizat 阅读全文
posted @ 2021-07-18 00:22 仲长可倾 阅读(317) 评论(0) 推荐(0) 编辑
摘要: extension String { // 根据字符串的实际内容,在固定的宽度和字体的大小下,动态的计算出实际的高度 func textHeightFromTextString(text: String, textWidth: CGFloat, fontSize: CGFloat, isBold: 阅读全文
posted @ 2021-05-29 02:28 仲长可倾 阅读(1578) 评论(0) 推荐(0) 编辑
摘要: 加壳:利用特殊算法,对可执行文件的编码进行改变(压缩、加密),达到保护程序代码的目的 脱壳:去掉壳程序,将未加密的可执行文件还原出来,或者称砸壳 脱壳方式:硬脱壳、动态脱壳 脱壳工具:Clutch(弃用)、dumpdecrypted(弃用)、frida、crakerx、flexdecrypt、bag 阅读全文
posted @ 2020-07-25 19:36 仲长可倾 阅读(2851) 评论(0) 推荐(0) 编辑
摘要: 下载地址:http://stevenygard.com/projects/class-dump/ 概念:This is a command-line utility for examining the Objective-C runtime information stored in Mach-O 阅读全文
posted @ 2020-07-25 19:06 仲长可倾 阅读(460) 评论(0) 推荐(0) 编辑