Link to home
Start Free TrialLog in
Avatar of FaheemAhmadGul
FaheemAhmadGulFlag for United Kingdom of Great Britain and Northern Ireland

asked on

How to programtically enter text into a UITextView by Clicking a Button using Swift

In a simple IOS project I have UITextView and Two Buttons ( ButtonOne and ButtonTwo). I would like to type text into this UIText view by clicking ButtonOne and ButtonTwo.  
For example, if I click ButtonOne it should type “apple” into the UITextView and after this if I click ButtonTwo it should type “orange” into the UITextView. So after I have clicked these two buttons one after another I should have the following text in my UITextView
apple orange
ASKER CERTIFIED SOLUTION
Avatar of KRUNAL TAILOR
KRUNAL TAILOR

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of FaheemAhmadGul

ASKER

Many thanks. I am very grateful.