MonoTouch绑定:如何将框架库标记为可选链接?

Ben*_*sky 5 linker binding xamarin.ios ios6

我正在尝试构建一个绑定项目,该项目应该可选地链接ios 6.0框架库(AdSupport,Social,Accounts).

有没有办法将这些库标记为可选链接LinkWithAttribute

pou*_*pou 5

只需在属性中使用WeakFrameworks,而不是.例如Frameworks[LinkWith]

[LinkWith (..., Frameworks="Foundation", WeakFrameworks="AdSupport, Social, Accounts")]
Run Code Online (Sandbox Code Playgroud)