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(); } /// /// 生成二维码 /// public static UIImage createQRCode(string url, int size = 500) { //return HDLUtlisXM.CreateQRCode(url, size); return null; } } }