uiscrollview

iPhone SDK - MPMoviePlayerController inside a UIScrollView?

I trying to put some images a videos inside a UIScrollView. If I scroll to the MediPlayer I can't change the position if the UIScrollView anymore. It is like the MoviePlayer takes all the swipe/touch events. Is there any way to pass all swipes to the UIScrollView? This is my code so far: for (int i=0; i<[self.photoSet count]; i++) { ...

Dynamic UILabel content inside of a UIScrollView

I've got a UILabel (amongst other controls) stored within a UIScrollView. I want to dynamically populate the UILabel so that it automatically expands its height to fit its contents. I'm just wondering what the best practice is with regards to resizing the UILabel while also ensuring that its parent UIScrollView will also expand its scrol...

Implementing chatting view in iPhone application

I want to implement the chat functionality in my application. So I want to know how to implement that scrolling part which contains chat messages in chat view of application. I have seen that kind of chat view in many application like facebook and others. I am wondered what that exact scrolling component is which allows us to programatic...

Get the zoomed frame of UIScrollView relative to original size

I have a UIScrollView and added a UIView inside it, when I zoom it, is it possible to get the CGRect of the zoomed frame in relation to the original frame? E.g. i have 800x600 frame, then i zoomed to {{50, 60}, {100, 100}} is it possible to programmatically get the zoomed frame? ...

In photoscroller app (iPhone WWDC-104 Photos App) uiscrollview images shift to right when called using presentModalviewController

Hi All, I have seen the WWDC-104 video showing UIScrollView for photos. I have downloaded the Sample code too. In my app the Structure is as follows, (Root Class)Class A ---> Class B -----------> PhotoViewController(Containing ScrollView) I am calling the PhotoViewController class by using presentModalViewController method in Class ...

My App calls scrollViewDidScroll 19 times

I have an app based on Apple's PageControl sample. The first time the view loads, the scroll view is loaded with page 0 and page 1. Whenever a scroll is initiated, the scrollViewDidScroll method should get called by UIKit correct? When initiating a scroll from page 0 to page 1, the app should load page-1, page and page+1, (to prevent fl...

Detecting touches on a scrollview

Is it possible to detect the touches in a scrollview which is filled with a grid of buttons as in the image below? For example, in this image, i can only drag the scroll view by dragging on the red areas, but i would like to be able to scroll the scrollview no matter where it is touched (like the iPhone's home screen)? Thanks ...

Delegate of UIScrollView / Subviews

hi, can you help me setting up a delegate for a UIScrollView, so I can interact with it from within it's subviews? Following problem: I added some UIViewControllers (with extra nibs) to a UIScrollView. I want to control the ScrollView from within those subviews. E.g. I want to disable scrolling when I press a button. In another threa...

Adding stationary UIButton to UIScrollview

Hi, I am creating an app and on the third layer of the app, the view controller contains a UIScrollView with two images that scroll horizontally. I want to add a button to this view that is stationary with respect to the scroll view. So, the user can scroll the images but the button remains where it is. Is there a way for me to do this? ...

On-screen dimensions of a UIScrollView

I have a view controller containing a status bar and a navigation controller on top and under these a UIScrollView that fill up the remaining space. The ScrollView displays an image. Is it possible to read the on-screen dimensions of the ScrollView without any hard-coded pixel values? For the UIScrollView both frame and bounds return th...

UIScrollView Rotation

I have a scrollview that automatically generates a series of subviews containing imageviews. The concept is that it's pretty much a custom PDF style reader, where each page is loaded in to an imageview as an image. There are three "layers" - the outer UIScrollView, the automatically generated subViews and the imageview inside the subview...

If I have a UIViewController in a UIScrollView how can I programmatically make the UIScrollview zoomToRect?

I have a scrollview that has a page control. The scrollview contains 3 views. Each view contains a view controller. In one of my view controllers I press a button and I want the scrollview to scroll to a specific location. But Im not sure how to accomplish that since the button is not in the UIScrollview but in one of the view controller...

iphone, tableView and appStore application

I want to create an application excacly like appStore. A nice table (I have the source code from apple using custom table cell) But my main problem is that I cannot find a nice tutorial or a guide on how to make the product detail page. I want to have a label at the top then a text and after that I want to have the images. I notice that ...

How to start with particular Image using the iPhone WWDC 2010 - 104 PhotoScroller

Hi All, I am going through the Sample code of iPhone WWDC 2010 - 104 PhotoScroller App. It's working great with my project related images (PDF Page Images) Now I want to start the app from a custom image no - Say 5. And it should show 6th image on next swipe and 4th on previous swipe. Can anyone help in this Regard ? ...

How do I animate through a bunch of "paged" views in a UIScrollView?

Say I have a bunch of views in a UIScrollView and I want each one to appear on the screen, one at a time, how do I do so? ...

How can I use a nonstandard color for the UIScrollView indicator ?

The UI gives 3 options for UIScrollViewIndicatorStyle, but I want to make the UIScrollView indicator red, which is not one of the standard styles. Can I do this? If so, how? ...

UIScrollView with UIButton doesn't scroll when touch down on button

Hi, I've got a UIScrollView in my UIView. I've added some UIButtons to the scroll view. If I touch down not on a button and drag, the scroll view drags fine. If I touch down on a button and drag then the scroll view doesn't move. I want the scroll view to always scroll around if dragged and the buttons only get selected on the Touch U...

UIScrollView autoresizing content?

Hi there If I set UIScrollView height to self.view.frame.size.height and setAutoresizingMask:UIViewAutoresizingFlexibleHeight then when the view loads the UITabBarController and the UINavigationBar the scroll view frame resizes to suit. However the content size (set at: self.view.frame.size.height) doesn't change. Fair enough I guess -...

Paging Horizontally with vertical scroll on each page!

Hello, In my app I use a page control and a UIScrollView to page horizontally, I'd like to be able to enable vertical scrolling on each page. Now I know you can nest UIScrollViews in order to achieve this, there is however one problem in my project. Each of the pages uses a view controller consisting of a view, with a background image ...

Infinite UIScrollView for whiteboard-like app

Naturally an "infinite" UIScrollView question has been asked about before, but it always seem to be related to this sort of scenario: A scrollview with 4 card subviews on a "carousel", i.e. reaching the 4th card and then swiping in the direction of continuation would yield the 1st card again (and therefore no need to scroll backwards). ...