I am new to iPhone development, and I want to know how can I add UIButtons in a UIScrollView?
These buttons should be vary from 12 to 20, 24, 28 etc.
Is there any code from that we can do this dynamically, not from Nib file, and is there any samples avaliable?
Thanks in advance.
Sure, you can add the buttons manually with something like the following:
You can create both things via IB and set the button’s frame vía code