Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
陈高翔
/
DreamSleep-iOS
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 6f4b9be6
由
cgx
编写于
2022-11-06 14:50:56 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
苹果登录按钮调整、相册、拍照隐私文案调整
1 个父辈
47ef0f92
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
11 行增加
和
11 行删除
DreamSleep/DreamSleep.xcodeproj/project.pbxproj
DreamSleep/DreamSleep/Basement/DSConfig/Info.plist
DreamSleep/DreamSleep/Class/ProfileModule/UserLogin/LoginView.m
DreamSleep/DreamSleep.xcodeproj/project.pbxproj
查看文件 @
6f4b9be
...
@@ -3233,7 +3233,7 @@
...
@@ -3233,7 +3233,7 @@
CODE_SIGN_ENTITLEMENTS = DreamSleep/Basement/DSConfig/DreamSleepDebug.entitlements;
CODE_SIGN_ENTITLEMENTS = DreamSleep/Basement/DSConfig/DreamSleepDebug.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Manual;
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 1
2
;
CURRENT_PROJECT_VERSION = 1
3
;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEFINES_MODULE = YES;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 4NDZ6UX8PW;
DEVELOPMENT_TEAM = 4NDZ6UX8PW;
...
@@ -3255,13 +3255,13 @@
...
@@ -3255,13 +3255,13 @@
GENERATE_INFOPLIST_FILE = YES;
GENERATE_INFOPLIST_FILE = YES;
HEADER_SEARCH_PATHS = "$(inherited)/**";
HEADER_SEARCH_PATHS = "$(inherited)/**";
INFOPLIST_FILE = DreamSleep/Basement/DSConfig/Info.plist;
INFOPLIST_FILE = DreamSleep/Basement/DSConfig/Info.plist;
INFOPLIST_KEY_NSCameraUsageDescription = "APP
需要您的同意,才能访问相机
。";
INFOPLIST_KEY_NSCameraUsageDescription = "APP
在动态发布、用户头像等模块需要访问相机,以便拍摄上传图片
。";
INFOPLIST_KEY_NSLocalNetworkUsageDescription = "需要访问本地网络权限";
INFOPLIST_KEY_NSLocalNetworkUsageDescription = "需要访问本地网络权限";
INFOPLIST_KEY_NSLocationAlwaysAndWhenInUseUsageDescription = "APP需要您的同意,才能访问位置信息。";
INFOPLIST_KEY_NSLocationAlwaysAndWhenInUseUsageDescription = "APP需要您的同意,才能访问位置信息。";
INFOPLIST_KEY_NSLocationAlwaysUsageDescription = "APP需要您的同意,才能始终访问位置信息。";
INFOPLIST_KEY_NSLocationAlwaysUsageDescription = "APP需要您的同意,才能始终访问位置信息。";
INFOPLIST_KEY_NSLocationUsageDescription = "APP需要您的同意,才能访问位置信息。";
INFOPLIST_KEY_NSLocationUsageDescription = "APP需要您的同意,才能访问位置信息。";
INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "APP需要您的同意,才能在使用时获取位置信息。";
INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "APP需要您的同意,才能在使用时获取位置信息。";
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "APP
需要您的同意,才能访问相册
。";
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "APP
在动态发布、用户头像等模块需要访问本地相册,以便上传图片
。";
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIStatusBarHidden = YES;
INFOPLIST_KEY_UIStatusBarHidden = YES;
...
@@ -3316,7 +3316,7 @@
...
@@ -3316,7 +3316,7 @@
CODE_SIGN_ENTITLEMENTS = DreamSleep/DreamSleep.entitlements;
CODE_SIGN_ENTITLEMENTS = DreamSleep/DreamSleep.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1
2
;
CURRENT_PROJECT_VERSION = 1
3
;
DEFINES_MODULE = YES;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 4NDZ6UX8PW;
DEVELOPMENT_TEAM = 4NDZ6UX8PW;
ENABLE_BITCODE = NO;
ENABLE_BITCODE = NO;
...
@@ -3336,13 +3336,13 @@
...
@@ -3336,13 +3336,13 @@
GENERATE_INFOPLIST_FILE = YES;
GENERATE_INFOPLIST_FILE = YES;
HEADER_SEARCH_PATHS = "$(inherited)/**";
HEADER_SEARCH_PATHS = "$(inherited)/**";
INFOPLIST_FILE = DreamSleep/Basement/DSConfig/Info.plist;
INFOPLIST_FILE = DreamSleep/Basement/DSConfig/Info.plist;
INFOPLIST_KEY_NSCameraUsageDescription = "APP
需要您的同意,才能访问相机
。";
INFOPLIST_KEY_NSCameraUsageDescription = "APP
在动态发布、用户头像等模块需要访问相机,以便拍摄上传图片
。";
INFOPLIST_KEY_NSLocalNetworkUsageDescription = "需要访问本地网络权限";
INFOPLIST_KEY_NSLocalNetworkUsageDescription = "需要访问本地网络权限";
INFOPLIST_KEY_NSLocationAlwaysAndWhenInUseUsageDescription = "APP需要您的同意,才能访问位置信息。";
INFOPLIST_KEY_NSLocationAlwaysAndWhenInUseUsageDescription = "APP需要您的同意,才能访问位置信息。";
INFOPLIST_KEY_NSLocationAlwaysUsageDescription = "APP需要您的同意,才能始终访问位置信息。";
INFOPLIST_KEY_NSLocationAlwaysUsageDescription = "APP需要您的同意,才能始终访问位置信息。";
INFOPLIST_KEY_NSLocationUsageDescription = "APP需要您的同意,才能访问位置信息。";
INFOPLIST_KEY_NSLocationUsageDescription = "APP需要您的同意,才能访问位置信息。";
INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "APP需要您的同意,才能在使用时获取位置信息。";
INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "APP需要您的同意,才能在使用时获取位置信息。";
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "APP
需要您的同意,才能访问相册
。";
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "APP
在动态发布、用户头像等模块需要访问本地相册,以便上传图片
。";
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIStatusBarHidden = YES;
INFOPLIST_KEY_UIStatusBarHidden = YES;
...
@@ -3459,7 +3459,7 @@
...
@@ -3459,7 +3459,7 @@
CODE_SIGN_ENTITLEMENTS = DreamSleep/Basement/DSConfig/DreamSleepBeta.entitlements;
CODE_SIGN_ENTITLEMENTS = DreamSleep/Basement/DSConfig/DreamSleepBeta.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1
2
;
CURRENT_PROJECT_VERSION = 1
3
;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEFINES_MODULE = YES;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 4NDZ6UX8PW;
DEVELOPMENT_TEAM = 4NDZ6UX8PW;
...
@@ -3481,13 +3481,13 @@
...
@@ -3481,13 +3481,13 @@
HEADER_SEARCH_PATHS = "$(inherited)/**";
HEADER_SEARCH_PATHS = "$(inherited)/**";
HOST_URL = "https:${SLANT}/cbti.mynatapp.cc";
HOST_URL = "https:${SLANT}/cbti.mynatapp.cc";
INFOPLIST_FILE = DreamSleep/Basement/DSConfig/Info.plist;
INFOPLIST_FILE = DreamSleep/Basement/DSConfig/Info.plist;
INFOPLIST_KEY_NSCameraUsageDescription = "APP
需要您的同意,才能访问相机
。";
INFOPLIST_KEY_NSCameraUsageDescription = "APP
在动态发布、用户头像等模块需要访问相机,以便拍摄上传图片
。";
INFOPLIST_KEY_NSLocalNetworkUsageDescription = "需要访问本地网络权限";
INFOPLIST_KEY_NSLocalNetworkUsageDescription = "需要访问本地网络权限";
INFOPLIST_KEY_NSLocationAlwaysAndWhenInUseUsageDescription = "APP需要您的同意,才能访问位置信息。";
INFOPLIST_KEY_NSLocationAlwaysAndWhenInUseUsageDescription = "APP需要您的同意,才能访问位置信息。";
INFOPLIST_KEY_NSLocationAlwaysUsageDescription = "APP需要您的同意,才能始终访问位置信息。";
INFOPLIST_KEY_NSLocationAlwaysUsageDescription = "APP需要您的同意,才能始终访问位置信息。";
INFOPLIST_KEY_NSLocationUsageDescription = "APP需要您的同意,才能访问位置信息。";
INFOPLIST_KEY_NSLocationUsageDescription = "APP需要您的同意,才能访问位置信息。";
INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "APP需要您的同意,才能在使用时获取位置信息。";
INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "APP需要您的同意,才能在使用时获取位置信息。";
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "APP
需要您的同意,才能访问相册
。";
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "APP
在动态发布、用户头像等模块需要访问本地相册,以便上传图片
。";
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIStatusBarHidden = YES;
INFOPLIST_KEY_UIStatusBarHidden = YES;
...
...
DreamSleep/DreamSleep/Basement/DSConfig/Info.plist
查看文件 @
6f4b9be
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
<true/>
<true/>
</dict>
</dict>
<key>
Privacy - Photo Library Additions Usage Description
</key>
<key>
Privacy - Photo Library Additions Usage Description
</key>
<string>
APP
需要您的同意,才能访问相册
。
</string>
<string>
APP
在动态发布、用户头像等模块需要访问本地相册,以便上传图片
。
</string>
<key>
UIBackgroundModes
</key>
<key>
UIBackgroundModes
</key>
<array>
<array>
<string>
audio
</string>
<string>
audio
</string>
...
...
DreamSleep/DreamSleep/Class/ProfileModule/UserLogin/LoginView.m
查看文件 @
6f4b9be
...
@@ -165,7 +165,7 @@
...
@@ -165,7 +165,7 @@
-
(
UIButton
*
)
appleBtn
{
-
(
UIButton
*
)
appleBtn
{
if
(
!
_appleBtn
)
{
if
(
!
_appleBtn
)
{
_appleBtn
=
[
UIButton
btnWithTitle
:
@"
Apple ID
登录"
font
:
BoldFont
(
16
)];
_appleBtn
=
[
UIButton
btnWithTitle
:
@"
通过Apple
登录"
font
:
BoldFont
(
16
)];
_appleBtn
.
titleEdgeInsets
=
UIEdgeInsetsMake
(
0
,
12
,
0
,
0
);
_appleBtn
.
titleEdgeInsets
=
UIEdgeInsetsMake
(
0
,
12
,
0
,
0
);
_appleBtn
.
dk_backgroundColorPicker
=
DKColorPickerWithKey
(
TEXT
);
_appleBtn
.
dk_backgroundColorPicker
=
DKColorPickerWithKey
(
TEXT
);
[
_appleBtn
dk_setTitleColorPicker
:
DKColorPickerWithKey
(
APPLE_TEXT
)
forState
:
UIControlStateNormal
];
[
_appleBtn
dk_setTitleColorPicker
:
DKColorPickerWithKey
(
APPLE_TEXT
)
forState
:
UIControlStateNormal
];
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论