Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

iOS Module needs to adapt to encapsulating Appcelerator parent’s height and width

$
0
0

We have an iOS module with a single view. When we invoke it from Appcelerator and call createView{“height”=“200”, “width”=“200"} we can successfully display it. However we would like to create the view without supplying specific height/width and have it automatically fill the encapsulating view in Appcelerator.

We have tried several variations, including supplying no height/width or trying to call the [view.superview.frame] in iOS, no luck.

We'd appreciate if someone could point us in the right direction.


Viewing all articles
Browse latest Browse all 8068

Trending Articles