Add child
How to add child view in a UI view?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Selva GanapathyRank #560 · 4.3K reputationPosted Nov 21, 2014, 3:00 AM EST
Hi Jegan Priya,
You can make use of following code to achieve your requirement
Button *button;
[self.view addSubview:button];
Regards,
Selva Ganapathy K