Skip to main content

All Questions

Tagged with
2 votes
1 answer
539 views

Why might dragging SVG elements via TouchEvent on iPhone iOS be laggy?

I have created a web interface where the user can drag and drop SVG elements on screen. I am struggling with the performance of moving the SVGs via touch events on iPhone iOS using the webkit engine. ...
Oliver Tacke's user avatar
0 votes
1 answer
178 views

Javascript touch event doesn't fire in portrait orientation

I'm making a web-app where you can move elements around on a canvas and draw lines between them. Everything works as expected when in landscape mode on iphone and ipad, but when I switch into portrait ...
Kim Annika's user avatar
0 votes
0 answers
102 views

Transfer touch event from tableviewcell to view without touch up

I have a touch event problem I used didHighLight delegate to handle touch event on tableview cell when long press on the cell for 1 second, I add a view on top of the tableview If it is possible ...
user1960970's user avatar
7 votes
3 answers
9k views

How to detect touch event in child viewcontroller in ios

I have created a sideview like menu for the iPhone for which I have used container ship concept for adding child view controller in the parent view controller. When user taps on menu button on the ...
Dhaval H. Nena's user avatar
3 votes
1 answer
1k views

Is there a way to programmatically trigger a touch event at a point given on iphone?

I would like to programmatically trigger a touch event at a point on the screen. Do you know how to do this? For example, I would like to click a UIView, then it should check to see if certain ...
Horton Jackson's user avatar
1 vote
1 answer
149 views

Custom NavigationItem's TouchUpInside Event is outside boundaries

I'm using a custom UIBarButtonItem to replace the leftBarButtonItem, however when I press outside of the button, within around 20 pixels of the button, it detects it as the button being pressed. Here'...
DJDMorrison's user avatar
  • 1,320
1 vote
1 answer
145 views

Can I pull up a UIActionSheet with a touchable background?

I have a UIPickerView on a UIActionSheet. Right now the UIActionSheet makes the view behind the UIActionSheet not touchable. Is there a way that I can make it touchable? Or is that just how a ...
SirRupertIII's user avatar
  • 12.6k
1 vote
0 answers
90 views

Animating a UIButton prevents it from causing a segue

In my storyboard, I have a button that triggers a modal segue. When it doesn't trigger any animations that move it, it works as intended. However, when it does trigger an animation that moves it, it ...
meisel's user avatar
  • 2,399
2 votes
3 answers
1k views

Is this a bug? Tapping an element can result in a different element receiving keyboard focus

I am trying to figure out whether an effect seen in Mobile Safari, Android Browser, and Firefox for Android ("Fennec") is a bug or expected behavior. Basically, the issue is that an <input> ...
Daniel Trebbien's user avatar
0 votes
2 answers
246 views

How to change screen on double tap

I have successfully made a double tap action using - (void) touchesEnded but I would like to make a double tap event that switches to another view like it would if you pushed a button . How would I do ...
Huntaz556's user avatar
  • 117
1 vote
2 answers
239 views

how can i get pixel of an image in UIimageView by calling a touchEvent on an imageView? [closed]

I want to call an touchEvent on an imageView.On touch of a imageView,i want to get a pixel of an Image.I am using this:- - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { UITouch *...
Nikhil Bansal's user avatar
1 vote
0 answers
556 views

Passing touchesMoved events to superview only passes first event

I've created a subclass of UIButton and have implemented methods for touchesBegan, touchesEnded, and touchesMoved. I'd like to alert the superview that it needs to carry out some action whenever any ...
automatom's user avatar
  • 275
0 votes
2 answers
2k views

How to pass touch event frome a UIScrollView's subview to it's superview

I have three views on the window. A UIView contains the UIScrollView,and the UIScrollView contains a UILabel.All these views is 320*460. Now I want to handle long press event on the UILabel and pass ...
moyu's user avatar
  • 23
1 vote
0 answers
360 views

How to implement create event feature like the one in iPhone/iPad calendar?

I will implement a calendar application for iPad and I want the user to be able to create an event with almost the same experience as the native calendar app. (I took the images from iPhone but it's ...
aslı's user avatar
  • 8,904
0 votes
1 answer
344 views

get hold of UIResponder instance methods on UIScrollView. iPhone

on the current project I am working on, on one of the views, I have a UIView and on top of it UIScrollView which is constructed from the interface builder. I have implemented the following ...
shebelaw's user avatar
  • 4,142

15 30 50 per page