陈嘉乐
2020-06-16 7167334c0e89dd84827d59e726123d14776e3a09
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System;
using UIKit;
 
namespace Shared
{
    public class HDLUtils
    {
 
        public static int RectCornerTopLeft = 1;
        public static int RectCornerTopRight = 2;
        public static int RectCornerBottomLeft = 4;
        public static int RectCornerBottomRight = 8;
 
 
        public static void RestartApp() {
 
            //Com.Hdl.Widget.
 
            BaseApplicationDelegate DD = (BaseApplicationDelegate)UIApplication.SharedApplication.Delegate;
            DD.setHDLRootViewController();
        }
 
 
        /// <summary>
        /// 生成二维码
        /// </summary>
        public static UIImage createQRCode(string url, int size = 500)
        {
            //return HDLUtlisXM.CreateQRCode(url, size);
 
            return null;
        }
 
    }
}