可以在Monotouch中使用NSZombieEnabled吗? [英] Is it possible to use NSZombieEnabled in Monotouch?

查看:101
本文介绍了可以在Monotouch中使用NSZombieEnabled吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在阅读环境变量 NSZombieEnabled 我想知道目前是否可以在Monotouch运行时使用它?如果没有,是否有一个合适的选择,我只是上釉?

I've been reading up about the environmental variable NSZombieEnabled and I wondered whether it is currently possible to use this in a Monotouch runtime? If not, is there a suitable alternative that I'm just glazing over?

我问的原因是因为找到他们应用程序中可能存在的泄漏可能会有所帮助 - 我试图使用有限的成功的仪器我想尝试一切可能的选择,以确保我有一个漂亮而稳定的应用程序。

编辑

我误解了他们的用途(毕竟是星期一早上......) - 但我仍然很想知道它是否可能,或者是因为C#的自动化GC,它们是否相关?

I misunderstood what they were used for (it is Monday morning after all...) - but I would still be curious to know whether it is possible, or because of C#'s automated GC, whether they would be relevant?

推荐答案

在模拟器调试器上运行时,MonoTouch会自动启用NSZombieEnabled。

MonoTouch automatically enables NSZombieEnabled when running on the simulator debugger.

目前无法在设备上启用此功能。

There is currently no way to enable this on the device.

这篇关于可以在Monotouch中使用NSZombieEnabled吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆