[英]How can I align my custom Popover view controller to center of ParentViewController in Xamarin.iOS?
[英]How can I catch the Console log output within my own app in Xamarin.iOS?
我想以編程方式在我自己的iOS應用程序中捕獲控制台日志; 我知道我可以重定向WriteLine,但這還不夠; 我也需要'原生'輸出。
您可以使用Apple的ASL Api(這是一個未在Xamarin.iOS中綁定的C API,您需要將自己的DllImports編寫到您感興趣的函數中)。
以下是對(Objective-)C中的完成方式的描述: http : //www.cocoanetics.com/2011/03/accessing-the-ios-system-log/
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.