Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 07-01-2009, 03:40 AM   #1 (permalink)
New Member
 
Join Date: Jul 2009
Posts: 3
Default 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
shipat is offline   Reply With Quote
Old 07-01-2009, 05:02 AM   #2 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 97
Default

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.
Jason Rogers is offline   Reply With Quote
Old 07-01-2009, 06:32 AM   #3 (permalink)
New Member
 
Join Date: Jul 2009
Posts: 3
Default

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.
shipat is offline   Reply With Quote
Old 07-01-2009, 07:21 AM   #4 (permalink)
Registered Member
 
mnemonic_fx's Avatar
 
Join Date: Jun 2008
Location: Planet Earth
Posts: 415
Default

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.
mnemonic_fx is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,007
Threads: 38,788
Posts: 170,196
Top Poster: smasher (2,560)
Welcome to our newest member, boomer202
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:36 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0