Skip to content

Commit 6abd00a

Browse files
committed
状态栏添加配置说明,getSMSCode 方法优化。
1 parent 436a96d commit 6abd00a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

lib/jverify.dart

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ class Jverify {
197197
* key = "result",uuid
198198
* */
199199
Future<Map<dynamic, dynamic>> getSMSCode(
200-
String phoneNum, String signId, String tempId) async {
200+
{@required String phoneNum, String signId, String tempId}) async {
201201
print("$flutter_log" + "getSMSCode");
202202

203203
var args = <String, String>{};
@@ -821,7 +821,13 @@ enum JVIOSLayoutItem {
821821
ItemPrivacy,
822822
ItemSuper
823823
}
824-
824+
/*
825+
*
826+
* iOS状态栏设置,需要设置info.plist文件中
827+
* View controller-based status barappearance值为YES
828+
* 授权页和隐私页状态栏才会生效
829+
*
830+
* */
825831
enum JVIOSBarStyle {
826832
StatusBarStyleDefault, // Automatically chooses light or dark content based on the user interface style
827833
StatusBarStyleLightContent, // Light content, for use on dark backgrounds iOS 7 以上

0 commit comments

Comments
 (0)