![](/img/trans.png)
[英]How to call methods in the custom view in iOS module, from titanium project?
[英]How to send CGRect Value from titanium to ios-module
我需要在iOS模塊中設置CGRect,該模塊從Titan接收其值。 有什么建議么?
我想到了。
在鈦中使用:
module.setRect({
x:10,
y:10,
width:100,
height:100
});
在IOS模塊中:
-(void)setRect:(id)value{
CGRect rect = [TiUtils rectValue:value];
}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.