 |
 |
|
 |
07-01-2009, 04:40 AM
|
#1 (permalink)
|
|
New Member
Join Date: Jul 2009
Posts: 3
|
Compressing view
Hi all,
i have view with text.When user scrolls horizontally view should appear like we are moving from one page to next.How to achive this
|
|
|
07-01-2009, 06:02 AM
|
#2 (permalink)
|
|
Registered Member
Join Date: May 2009
Posts: 95
|
Hi
have you tried using a UIScrollView to store your textVIews?
I never tried with text view but the apple example "Scrolling" shows you how to do it for UIImageViews.
hope it helps and don't forget to let us know if it works
jason
__________________
We all have to go down this same road.
You liked it when the ones in front of you helped.
So think about the ones behind you.
---
try, try again, try some more, then ask.
once you asked, continue trying until you find a solution.
and finally make sure you post the solution.
|
|
|
07-01-2009, 07:32 AM
|
#3 (permalink)
|
|
New Member
Join Date: Jul 2009
Posts: 3
|
Hi,
thanks for reply.I have seen that example,but what i want is when u scroll horizontally, view should be compressesd and if it has some text it should also appear compresed.
|
|
|
07-01-2009, 08:21 AM
|
#4 (permalink)
|
|
Registered Member
Join Date: Jun 2008
Location: Planet Earth
Posts: 402
|
What do you mean by "compressed" ?
If your goal is to scroll a text horizontally, then set your UILabel or UITextView width properly to the size of the text without line breaks.
__________________
Visit Me
Writing code is not only about writing instructions to a machine / computer, but also about writing something that could be read, understood, and maintained by others. That's why, I like Cocoa.
|
|
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
» Advertisements |
» Online Users: 495 |
| 58 members and 437 guests |
| AdyCoder, atsd, AXP, bensj, blackoutq3, BobK, bravetarget, cakeisalie, CHV, coconnor, cribasoft, CunningCat, danny8, davek, fede, Gamer211, gomugroup, Gudus, harrytheshark, healthyutech, henmue, iFizzgig, imsatasia, intomo, iPhoneDevelopment, itakenocrud, johnnybluejeans, KenPletzer, kjelleinar, lepetitapps, Link, MacSteve85, markbuchanan, MarkC, MasterLee, MiniRobinho, mlo, nibby, NicolasD, Noise, not_too_shabby, P2k, pokypine, racer_X, raheel, robotcult, sayhong, SimonK, talakoski, Tambourin, umarmara, vcanic, Vivek Nirkhe, Vonswanko, wassupdoc, ZunePod |
| Most users ever online was 779, 05-11-2009 at 10:55 AM. |
» Stats |
Members: 21,505
Threads: 35,786
Posts: 156,783
Top Poster: smasher (2,449)
|
| Welcome to our newest member, SimonK |
|