AppDemo
- 快速创建一个App。
- Quickly Create An Application.
- Framework import:
- 核心动画
CoreAnimation
- 加载进度条
KVO
- 音效播放
AudioToolbox
- 凸起TabBar
CALayer、UIBezierPath
- 高斯模糊
UIBlurEffect
- 关于页
StoreKit
- 自动填充
Autofill iOS 12.0
- IM+推送+分享+支付+第三方登录
UMeng+Jpush\AliPay+WeChatPay
Screenshot0 |
Screenshot1 |
Screenshot2 |
Screenshot3 |
|
|
|
|
#define POSTURL @"http://103.278.225.222:8080/api"
#define APPID @"1438587731"
#define AppStoreURL @"https://itunes.apple.com/cn/app/id1438587731"
// 微信登录
#define WXAPPID @"wxa1ef79a68ee78dc6"
#define APPSECRET @"df13989d289c27b9703ec65ef8d519db"
// QQ登录
#define QQAPPID @"110668133"
#define QQAPPKEY @"PTC8VnALh7zKqKe"
// 支付宝支付
#define AlipayAPPID @"201806196016551"
// 极光推送
#define JPUSH_APPKEY @"dbe5990f07ed34325e34566"
#define JPUSH_CHANNEl @"App Store"
#define isProdution 1
// 融云AppKey
#define RCAPPKEY @"n19jcy5n8fz9"
// 友盟AppKey
#define UMAPPKEY @"5bd4062cf1f556edf600075f"
1、设置 TextField ContentType
类目 |
UIKit |
ContentType |
Remark |
用户名 |
TextField |
UserName |
no |
密码 |
TextField |
Password |
no |
新密码 |
TextField |
New Password |
no |
验证码 |
TextField |
One Time Code |
no |
2、设置 apple-app-site-association
需要一个支持HTTPS的网站用来存放,apple-app-site-association文件。
如果没有可以利用GitHub Pages挂载,步骤如下:
https://niyongsheng.github.io
3、修改apple-app-site-association文件
{
"webcredentials":{
// ${Prefix} Prefix, ${BundleID} Bundle ID ,如果有多个APP依次增加.
"apps":["${Prefix}.${BundleID}"],
"apps":["${Prefix1}.${BundleID2}"],
"apps":["${Prefix2}.${BundleID3}"]
}
}
self.nameField.textContentType = UITextContentTypeUsername;
if (@available(iOS 12.0, *)) {
self.passwordField.textContentType = UITextContentTypeNewPassword;
self.passwordField.passwordRules = [UITextInputPasswordRules passwordRulesWithDescriptor:@"required: lower; required: upper; allowe: digit; required: [-]; minlength: 6; maxlength: 16;"];
} else {
self.passwordField.textContentType = UITextContentTypePassword;
}
https://developer.apple.com/videos/play/wwdc2017/206/
https://developer.apple.com/documentation/uikit/uitextcontenttype
Reward🍭 Encourage❤️
Contact Me