scrolling

IPhone App: UIScrollView scrolls to bottom when it loads

I have a detail view for a contact. The last field is a Textview that can be as short as 1 line and as long as 20. in the viewDidLoad method I use: scrollView.contentSize = self.view.frame.size; My problem is that when the data is displayed, the scroll view scrolls to the bottom on its own. Obviously I would like it to start at the to...

iframe scrolling on the iphone

I was aware of multiple scrolling libraries (TouchScroll, iScroll) for the iPhone/iOS due to its inability (???) to support overflow:scroll . However, I was not aware (and I am looking for confirmation) that IFRAMEs don't really work either. It appears that the iframe doesn't respect any attempt to give it a fixed size and always just re...

iPhone parallax scrolling with UITableView

Hello, I am creating a navigation based application, and throughout my application, I want to maintain an image as background. Also, I want parallax scrolling for the background, i.e., when I scroll table view cells vertically, background image should scroll at a relatively slower speed. Also, my application has some images and text in ...

localScroll and easing scrolling troubles

I'm using localScroll and easing to smoothly scroll my site: http://www.pressedweb.com/beta Everything is cool, but if the user tries to scroll before localScroll or easing are done doing their thing, it starts flickering and consistently tries to finish the animation. Thanks a lot guys. StackOverflow is awesome! ...

Autoscroll implementation in a UIWebView??

Hi everyone, I have an iOS app that displays content from a sqlite db in a UIWebView (theres a reason I am using the UIWebView over say a ScrollView, and it is for some CSS). I want to add a feature to my app that will make it easier to read from. I want to have a button, that initiates an autoscroll function where the UIWebView begins t...

moving up problem in custom table view cell

Hi friends, I am using custom table view cell to show to table view - (id)initWithFrame:(CGRect)frame reuseIdentifier:(NSString *)reuseIdentifier { if (self = [super initWithFrame:frame reuseIdentifier:reuseIdentifier]) { m_mail_status = [[UIImageView alloc] initWithFrame:CGRectMake(295, 10, 18, 18)]; [self addSubview:m_mail...

How can I load images into the iphone system cache?

I have a tableView with some large images in it. I'm struggling to improve the very jerky scrolling performance. If I use ImageNamed to load the images, scrolling is jerky at first, but after the images are viewed, scrolling is smooth. I know ImageNamed adds the images into the system cache, so my question is: is it possible to pre-load ...

prevent scrolling with arrow keys

how can i prevent a html page from scrolling when arrow keys are pressed if a iframe inside it is focused? im gettting this error in chrome The iframe is focused, i know its focused. the parent scrolls anyway. ...

iPhone SDK: Making UITextField text in a custom UITableViewCell persist through scrolls?

I'm aware that to preserve memory usage, UITableViewCells are reused when scrolling. I have some custom UITableViewCells that have UITextFields in them. After text is inputted to the UITextField, and I scroll, that text is lost because of the cell reuse. How can I make this text persist through scrolls? I'm thinking I can store each c...

[iPhone] How to refresh a UIWebView by a "pull down and release" gesture?

I know that this is possible in the Tweetie for iPhone or the xkcd iPhone app, but they are using a table. Any idea if this can be done for a simple UIWebView as well? I'm aware of the Javascript suggestions in this SO question, but what about making that natively? ...

.NET WinForm ComboBox - How to alter the DropDown behavior

I've got a fairly long list in a ComboBox, and I want the DropDown behavior to be different. Normally, when you click the arrow, the list expands showing all options, starting with the selected option. Options listed above the selected option are hidden, but can be seen by scrolling up. I want the list to scroll up a bit, showing the s...

Scrolling speed during UITableView re-ordering mode (not performance related)

Is there a way to increase the speed that you can drag a cell up/down during a table's movable row mode of a UITableView? For instance, there seems to be a standard speed that the table will allow you to drag the cell when you are moving it around and the scroll speed seems to increase if you hold it near the top/bottom edge of the devi...

Creating a scrolling view with a textBox

Hi, I'm trying to implement scrolling functionality in a textBox, so that I'm only displaying as many lines as will fit on the viewable part of the textbox and discarding any other lines. I have tried getting actualHeight and dividing it by the fontsize but this gives a line count which is too high so I display too many lines and the ...

iPhone - Nesting UIScrollViews for horizontal paging and vertical scrolling

I'm developing my first iPhone app and I would greatly appreciate you guy's input on a problem I'm having. I'm looking to implement scrolling both horizontally and vertically. I want the horizontal scrolling to be paged, without the vertical one being paged (scrolling "normally"). A single UIScrollView with pagingEnabled set to YES wil...

Repeated TableViewCells show up when I try to reuse tableviewcells... how do I get the new ones to show?

I am having a problem with my code skipping over the if(cell == nil) after about nine trips through the cellForRowAtIndexPath. Then items in my table start repeating and do so every nine items. When I remove the if(cell == nil) line, the table comes out beautifully, with all the data in the right order. However, if I scroll to the bottom...

UITableview scrolls down on its own??

i am using a UITableview in a navigation based application in this way UIView *containerView = [[[UIView alloc] initWithFrame:CGRectMake(0, 0, 300, 100)] autorelease]; [self.view addSubview:containerView]; TableView.rowHeight=50; Tableview.tableHeaderView=containerView; then i navigate to the next page.But After clicking the bac...

Changes to UIScrollView contentOffset don't stick when decelerating

I have looked at http://stackoverflow.com/questions/1493950/uiscrollview-any-thoughts-on-implementing-infinite-scroll-zoom, but it didn't exactly address my issue. I'm puzzled, though, because I would guess that other folks haven't seen my problem, so maybe it has to do with the details of my code. The sample code provided by Allisone ...

Qt How to disable mouse scrolling of QComboBox?

I have some embedded QComboBox in a QTableView. To make them show by default I made those indexes "persistent editor". But now every time I do a mouse scroll on top them they break my current table selection. So basically how can I disable mouse scrolling of QComboBox? ...

Weird UITableView scrolling problem

I have a sectioned UITableView which loads data from a plist file. The table uses custom cells with dynamic height to fit the content of each cell. The table loads just fine initially, but after scrolling down and back up, the cells seem to be overlaying one another in some sections. I've attached an image illustrating the issue I am ha...

Any possibility to get a notification if another application receives a scroll event?

Hi, I'm developing an application in Cocoa which allows users to draw on any given window in OS X. The drawings move along with the corresponding window when dragged on screen. To complete this tie between drawings and the windows (and their contents) beneath, I'd like to catch scrolling events from the window in order to react on the p...