UITableViewCell's drag control sensitivity in iOS 7 - iphone

Does anyone have any tips on reducing the sensitivity of the drag handle on UITableViewCell?
I'm doing something a little custom where I find the drag handle view from the UITableViewCell and give it the frame of the entire cell so you can touch anywhere to drag. In iOS 6 the sensitivity of the view was moderate such that it didn't interfere with scrolling gestures. Now in iOS 7 they've made it so responsive that it's near impossible to scroll the UITableView parent.
Thanks

Sounds like your easiest solution for iOS 7 is to not do that. I don’t know of API to affect it, though if you’re already doing something custom with the grabber view then you might see if there’s a gesture recognizer attached to it that you can mess with.

Related

UITableView and UIGestureRecogniser

I have a UITableView with normal vertical scrolling.
I want to add a UISwipeGestureRecnogiser to it (or somewhere connected in the view hierarchy).
I've done this, but the vertical tolerance on my gesture recogniser is pretty small. So I have to get my horizontal swipe pretty straight, otherwise the UITableView takes over and scrolls vertically. This is pretty annoying for the user.
Has anyone got any suggestions on how to better handle this? Maybe putting a UIView on top of my table view that handles the gesture, but if it fails - somehow pass the event to my table View.....
I ended creating my own gesture recogniser - following the example from the event handling guide for iOS.
I had more control over vertical tolerance using the old touchesMove and touchesBegan.
It still wasn't perfect, but it was a lot better and after testing on a few people, I could see there the swiping was less error prone.

Zoom functionality on a UITableView

I have a UITableView in one of my views which is a bit small and I can't increase its height (as its size is fixed and there are other controllers too). Can I provide the zoom in/zoom out functionality in it (same as we get on map view) ? If yes, how ?
During my search I came to know that it is possible with scroll view but I don't know how. I added a scroll view to my view and on the scroll view I added my tableview but the zoom in/zoom out functionality does not work there. Please help me out
This is for iPhone iOS 4.1.
Thanks in advance
The UITableView will be consuming all the touch events in the table view. What you need to do to get around this is to intercept the touch events, identify zoom gestures, and then pass any events that aren't zoom gestures to the table view.
You can subclass UIWindow to add the touch interceptors. Look at the sendEvent method.

I have a UI Scroll View with UIButtons on top. How do i make it scroll when they touch and drag the buttons?

I want something similar to how the iPhone homescreen works. I have my scrollview inside my main view, which scrolls to the right, but when you touch on the UIButtons, they become highlighted and dragging means they don't end up getting pressed but also the scrollview doesn't end up scrolling. It doesn't do this on the homescreen. How can i make it similar to this?
A touch-down-drag is a completely different event. Apple doesn't support this directly—you'd have to code it in—start tracking the touches using the gesture responders as soon as a touch-down-inside is detected, then scroll the same amount, and stop scrolling at a touch-up-outside (or inside). This would most likely fall under the category of unusual use of interface elements, and could very well get you rejected.
I think this is a better answer to the question:
UIScrollview with UIButtons - how to recreate springboard?

Swipe to change UIViewContent

Hej folks,
I got an UIView in my application and want to implement kind of a swipe gesture. I know how I detect this gesture (touchesBegan: and touchesEnded: for example is x coordinates are distanced more than 100 pixels or something else) but I really don´t now how to animate my needs. In fact my UIView will contain subviews which are 9 UIButtons. On swipe I want to change the set of buttons programatically...any solutions out there? Primarily need the animation!
EDIT: I thought about programatically moving the buttons off-screen to the left and at the same time move the new ones on-screen from the right side. But it seems I don't really know how to realize this...isn't it too much leaking at the same time? Please give me a hint!
It's seem that you want to recreate somethings like the springboard but with button instead of icon.
I can suggest you to use UIScrollView.
why you don't load just a new view with the other button set in your window after the swipe gesture was detected?

Springboard-like scrolling/view switching with snapping on iOS

Is there a way in cocoa touch to implement view switching behavior like the one in iPhone's springboard? I mean horizontal scrolling with 'snap to view' animation (views are switched only after certain 'scrolling' threshold has been reached)
Look at the 'pagingEnabled' property on UIScrollView.
SpringBoard, App Store and Mobile Safari use a UIPageControl in conjunction with a UIScrollView to provide the little dots you see at the bottom of the screens, that you swipe across with that snap effect.
What views you want to swipe through depends on your application, though, as you're essentially swiping through a UIScrollView.
This isn't an answer, but I know it's possible. I have seen this behavior in "Twitter for iPhone" and asked myself the same question. If you use that app, check out what happens when you swipe the individual tweets to reveal more controls underneath.
This looks like it's part of TableCellView and some touch drag combination. As for the implementation of that... well, im too novice right now.