I am having text which is more than the width of the UITextField
. The text is getting truncated and dots are added at the end of the text. How can I achieve the functionality of EditText
(in Android) where we can slide through the textfield if the text in the textfield is more than the width, without decreasing the font size.
Asked
Active
Viewed 174 times
3

Chandu
- 695
- 2
- 12
- 25
-
I am facing the same problem.Can u give me the solution if you have resolved the issue – Sekhar Jan 03 '13 at 12:43
1 Answers
0
If your textfield is not editable then it will be good to use UILabel inside UIScrollView.
- set the width of label equals to text size keeping height constant.
- set the content size of scrollview equals to label's size.
Hope this will work.
If you need code example, I can provide.

fibnochi
- 1,113
- 1
- 9
- 26
-
-
1MargueeLabel will however scroll the text automatically for a defined animation duration. There is no user interaction. – masam Jan 03 '13 at 07:43
-