Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Self-Destructing Message iPhone App Capturing Photo and Video Using UIImagePickerController Uploading the File and Message

Tamara J
Tamara J
189 Points

Instead of a photo or video, I was wondering how to do the same thing, but with just a text message?

Would it be something like 'self.textMessage.label'? Or 'textMessage.text'? A person enters a small line of test into a UITextField and before he or she submits enters reviews it on a UIlabel.Will it work if I just write it as textMessage.text? Or the former?

2 Answers

Naomi Freeman
STAFF
Naomi Freeman
Treehouse Guest Teacher

Could you please elaborate on what "the same thing" is? Thanks!

Tamara J
Tamara J
189 Points

Hi,

Sorry for the late response. What I meant is how to do the same app, with, instead of photos, a line (or string) of text from a textfield? Hope that clarifies.