Hello, I'm working on multiple applications for my school. I just need this last bit of code and I was wondering how I could implement a UIViewAutoresizingFlexibleHeight into the app for each textfield. What this does is it makes the textfield pop above the keyboard, rather than over lapping it. I have already implemented a UIScrollView,...
Allright, i have a UIScrollView with some drawings inside. the zoom and scroll works fine until i zoom in and then rotate. after the rotation zoom is fine but when i zoom back my drawings shrink more than i intend them to.
So basically, when i zoom out after rotation the view gets smaller than the screen.. how can i fix this problem ? an...
Hey!
I have a UIImage (Image's width is > 320px) in a UIScrolView (covers full width of screen) and want a paging effect.
All the tutorials/examples I found explain how to do it with multiple UIImages or UIVIews, but I only have 1 UIImage in the UIScrollView. My aim is it to create a 'tape measure' like effect. and the scrollview shou...
How can I test if the scroll view is bouncing? Is there a notification or something when the bounce ends?
Thanks in advance!
...
I am trying to scroll the content without scrolling the image in the background using UIScrollView.
I am using IB and setting the FileOwner View to point to the Scroll View (Image View is a child of the Scroll view). I have made the image height to be 960 pixels.
I have also set scrolling content size in the vierController that owns th...
Hi all, I feel like I should know this but I've been stumped for hours now and I've run out of ideas.
The theory is simple, the user manipulates the zoom and positioning in a scrollview using a pinch. If they hold that pinch for a short period of time then the scrollview records the zoom level and content offsets.
So I thought I'd sta...
I am busy with an application and I want to implement a scrollview like the tweetdeck application.
You can zoom in en out UITableviews within an UIScrollview.
I was wondering how they did that. What I can imagine is that there are two UIScrollviews.
This because of the zoom in and out of one item in the UIScrollview.
What I don't unde...
So, i got this Navigation-based App (with a custom NavigationBar - Category) and I have 2 problems here...
@implementation UINavigationBar (Custom)
- (void)drawRect:(CGRect)rect {
UIImage *image = [UIImage imageNamed: @"bg_toolbar.png"];
[image drawInRect:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)];
}
@end...
Hello,
I need to access the scroller object of an UIWebView, so I do something like this :
id obj = [[webView subviews] objectAtIndex:0];
The problem is that the object returns is not the same in SDK 3 and SDK 4.
In 4, it returns an UIScrollView object.
In 3, it returns me an UIScroller object, the problem is that this class isn't do...
Hi,
I'm trying to understand how UIScrollView works for zooming.
I was trying to rotate a UIImageView within a zoomed UIScrollView and I ended up with weird sizes, my centering in the scrollview not working anymore.
I solved the problem by setting the zoomScale to 1.0 before doing the rotation, and then by resetting it back to the pr...
Hi all,
I have an UIView-derived class (MenuView) that handles touch events inside an UIScrollView. Small finger movements are properly captured by MenuView; sweeps are captured by the outer UIScrollView and translate into scrolling. The MenuView gets a [touchesCancelled] notification.
Apparently a decision is made within UIScrollView ...
The Goal — On an iPhone, to browse through several hundred locally-stored jpgs using a UIScrollView.
The Problem — Like many others before me, I've tried implementing a scroll view based on Apple's Page Control sample code and found it lacking. The biggest issue I'm currently up against is that the sample code's architecture doesn't see...
I've been looking into creating a gallery mode in my application.
The functionality will be identical to the built in Photos App.
Here's the flow:
1. You touch on a thumbnail and ...
2. a modal view displays a large detail version of the image
3. You have the ability to scroll horizontally through all the images in the gallery while in...
Hi,
I've been searching all over for an easy way to do this. Right now I have a UIScrollView setup as my main view. There's an Image on the left and a column of TextFields on the right. When any TextField is tapped, the keyboard comes up and hides the bottom TextField. So I have the ScrollView move up to unhide the bottom TextField.
Qu...
I'm looking more for advice on the correct design for a view.
What I have is a UIScrollView that contains one or more custom Views I have created. My problem is, who reports to the scrollview what it's contentSize should be? I have the following:
UIView
+-UIScrollView
+-CustomView 1 with dynamic height depending on data
+-Cus...
I have a webview over a scrollview as subview. The problem is that, webview does not scroll vertically, when I try to do so scroll view start scrolling, is there any way to do so that when I touch on the webview it shoul scroll and if I touch outside of webview scrollview should scroll?
...
I have a UIScrollView that I use to display PDF pages in.
I don't want to use paging (yet). I want to display content based on touchesmoved event (so after horizontal swipe).
This works (sort of), but instead of catching a single swipe and showing 1 page, the swipe seems to gets broken into 100s of pieces and 1 swipe acts as if you're m...
This should be simple.
I'm making a very basic app, based on the Utility Application template of XCode.
On the flipside, I have more content than fits the screen.
The flipside is a UIView. I think it should be a UIScrollView, but somehow I don't get it to work.
Can anybody here advise me on this?
...
I have a XIB where I replaced the UIView with a UIScrollView. I made sure the outlet to File's Owner:view was linked to the new UIScrollView.
I'm trying to add a UIImageView to the UIScrollView programatically now. That's not a problem, but then I'd like to change the contentSize of self.view to match the new UIImageView. I've tried
(...
Hi everyone,
I am trying to create a horizontal UIScrollView with a few images in it. The user should be able to scroll horizontal between all the images. If he holds down the finger the scrolling should stop.
I though about making a
UIScrollView (320 x 122 px)
UIView for the content + really big width
UIImageView for the individual...