uiscrollview

Scrollview inside containerView won't scroll?

I have a UITableViewController subclass that has a container UIView which has 1 of 2 subviews: the tableview, or a UIScroll depending on whether or not the view is "flipped". my viewDidLoad() method adds the tableview to the container: [kContainerView addSubview: self.tableView]; self.view = kContainerView; and initializes the UIScro...

iPhone contentOffset uiscrollView in UIImagePicker

Hi, I would like to access the contentOffset value from de UIImagePicker scrollView during scrolling. Does anybody have a clue on how to accomplish such a thing? kind regards, Tony ...

How to determine if UIScrollView crash is in my code or Apple's?

I periodically am reproing a crash on a debug build running on my iPhone involving a UIScrollView with none of my code in the stack frame. I would like to know if it's a bug in my code or Apple's, and I am unable to query the Apple bug database to see if it has been reported. The backtrace shows: #0 0x30218060 in ___forwarding___ () #1...

best way to get text from a plain .txt file into a Scroll View

Can someone please help me out with this I'm actually going nuts! What is the best way to get text from a plain .txt file into a Scroll View, thats all I need just text. I've tried so many different solutions but can't get any of them working I was hoping someone could give me a fresh overview. ...

iPhone SDK Scroll View displaying extra space...

I've got a scroll view, in which I have an imageview displaying a 960x960 image, but it scrolls to something close to 4x that. I've tried to log the widths of all possible views and everything claims that it's 960x960 (or smaller, I think I logged the screen width once...?) I need this image to stop scrolling at the bottom right corner...

scroll UIScrollView without any animation

I have a UIScrollView instance on the screen. And I need to open this screen with the scroll view scrolled to the absolute bottom without any animation. So, I use scrollRectToVisible: animation:NO but anyway a bit animation is present. I've tried to use setContentOffset: animated:NO but also there is a bit animation. Can somebod...

iPhone: adding button to scrollview makes button inaccessible to interaction

For some reason, the button initialized in the addBook method of my viewController won't respond to touches. The selector I've assigned to it never triggers, nor does the UIControlStateHighlighted image ever appear when tapping on the image. Is there something intercepting touches before they get to the UIButton, or is its interactivity...

I cant get UIScrollView and UIAccelerometer to play nice, even with threading

problem is, everytime i go into my application and scroll around inside the scrollview, everything else in the program is completely useless, and tills I stops me scrolling, the accelerometer, and not to mention everything else wont do a thing, if anyone has any idea how i can get around said problem, id be much obliged, yes I would. an...

How do I scroll a set of UIScrollViews together?

Setup: I have a UITableView, each UITableViewCell has a UIScrollView. What I am trying to do is to get all of the UIScrollViews to scroll together, such that when you scroll one of them all of the UIScrollViews appear to scroll simultaneously. What I've done is subclass UITableView so that it has an array of all of the UIScrollViews wit...

Why doesnt UIScrollView zoom when i click on it?

I subclassed UIScrollView Then created an object of it in the main class. Added an image to it. Set the zoomscales as scrollview.minimumZoomScale = 0.25; scrollview.maximumZoomScale = 4.00; After all this Q. Is it supposed to zoom out when I double-tap on it and also support pinch zoom? Q. Shouldn't I do it programmatically? Q....

How to know, how much I scrolled in a UIScrollview?

Hey guys I have an image of 3200x480 and I have also 4 tabs. All the Views in the 4 tabs have the same image. What I want to do is that when I scroll lets say the first view to any point all the others views in the other tabs also scroll their images to the same position? Any tips? I tried with contentOffset and contentInset, but I wa...

UIScrollView zoomToRect not zooming to given rect (created from UITouch CGPoint)

My application has a UIScrollView with one subview. The subview is an extended UIView which prints a PDF page to itself using layers in the drawLayer event. Zooming using the built in pinching works great. setZoomScale also works as expected. I have been struggling with the zoomToRect function. I found an example online which makes a C...

Get zoomed image from UIImageView

Hi I am using a UIImageview inside a UIScrollView to let users pinch and zoom the image. I now want to get the image which the user has modified (small or zoomed in). How can I do this? Thanks. OK, am trying something new now. Can I get a thumbnail from an image from somewhere in between? I can get the thumbnail from (0,0) for a fixed...

Really, really big UIScrollViews

Hi Everyone, I'm trying to make a level-of-detail line chart, where the user can zoom in/out horizontally by using two fingers, and grow the contentSize attribute of the the UIScrollView field. They can also scroll horizontally to shift left or right and see more of the chart (check any stock on Google Finance charts to get an idea of ...

How to create an timeline on iPhone

Hello, I am trying to create an inifite timeline in my iPhone app to scroll through time. I think I am going to use a UIScrollView to do that but I am not sure how to do that. Am I supposed to create a reusable queue of views from scratch with views containing the days/months/years and reuse them when they go out of the screen ? (I have...

How can you get the touch location during scrollViewDidScroll

It seems that the UIScrollView stops sending touch events to the delegates on the scrollViewDidScroll event. I'm trying to get the y location and can't seem to find access to the events. I would like to update the view based on the position while it's scrolling. The best lead I've had has been this ( http://github.com/andreyvit/Scrolli...

Using UITouch inside a UIScrollView

Hi all, Just toying with the SDK and I was wondering if possible a UITouch event can work inside a UIScrollView. I have setup a UIScrollView which handles a large UIView, inside the UIView is a UIImageView, I've managed to get the UITouch to drag the UIImageView outside of the UIScrollView but inside it's not registering the event. I ...

iPhone architect choice for large text flow w/links

I am designing an app which will present large amounts of text that is interspersed with notes and references as clickable images. On a PC I'd use a control that shows HTML, but in the iPhone I am not able to intercept the touches of images and links too well using the UIWeb control. Should I use a UIScroll and build the text as lables ...

How to make the subview in a UIScrollView to refresh when we zoom it?

I have subclassed UIView object inside a uiscrollview which displays a pdf page. I can zoom that page. But when I do so, the inside view is zoomed and is getting blurred. I understood that the inner view shud be refreshed and i called setNeedsDisplay. But no change have happened and its the same even now. Below is the code for drawRect f...

What is actually changing when we zoom out a subView inside a UIScrollView?

I have a subview inside a uiscrollview. Then I zoom it out. So it becomes bigger and allows me to scroll through it. So what is actually changing here? ContentSize of UIScrollView? ...