I observe that with the iMac magic mouse, while using the iPhone simulator, if:
a) the active view has an object in the center of the iPhone screen which is capable of generating touch events, and
b) the iMac operator accidentally or otherwise drags their finger(s) across the magic mouse surface in a way which would normally be used for scrolling, that
the object in the center generates (bogus) mouse down and drag events.
If there is no such object in the center of the screen, there is no issue.
Is there a way to programmatically or otherwise disable this feature?
This is actually an issue with all Mac input devices with scroll functionality. If you do a two-fingered scroll up and down on a Macbook touch pad the same thing happens.
I believe this is more or less "intended", though it appears the touch up event is lost - so sometimes the interface gets stuck after a scroll gesture. I don't know of a way to programmatically disable this feature, unfortunately :-/
Gesture-based scrolling the iOS simulator was disabled sometime around iOS 4 or the iPad, I believe. It would have conflicted with the giant, scrolling window of the iOS simulator running on smaller screens.
Related
When attempting to use sheets on a Mac OS app, it's not interactable (sliding down to go back to the previous view) like on iOs. Is this normal or would I need a workaround to go back to the previous view?
You’ll need a close button on macOS, there is no dismissal gesture. If your app supports iOS too, it’s probably wise to have a close button there too — not all iPad users are familiar with the gesture, and the gesture doesn’t work on landscape phones.
For the Key **adjustingFocus**
observer notifies me when i am using the back camera
and does not do anything if using the front camera.
Any ideas on why this is happening ?
I am testing this on iPhone 4S, iOS 7 latest beta ,using GPUImage
The front facing camera on the iPhone 4S is a fixed focus camera, so the adjustingFocus observer will never notify you.
You can demonstrate this for yourself by opening the camera app to the front facing camera and checking out a couple things. Try putting a finger close to the camera and noticing that it won't try to pull focus on it. You can also tap around the screen and see the exposure and white balance adjust, but the focus never changing.
I was facing issues in ipod touch devices when build with ios 5. It actually messes up the entire screen and all the textbox, labels, buttons displayed in the bottom of the screen and after scrolling up and down, everything gets aligned properly.
I have same issue in iphone, i just did the following setting and it did worked with same ios sdk (armv6armv7, with no optimization level none).
Have you guys faced similar issues ? iPod touch 2nd generation is the only problem now. Do you have any suggestions for fixing this up ?
or is this a ios problem ?
I had the same problem and I did the same changes as you to solve it. Just make sure you also change it for Distribution and Release too (I made that mistake).
As for the iPod touch 2G - that doesn't support iOS 5. Are you looking specifically about supporting iOS 5 on an iPod touch 2G? If so, according to Apple, you don't have to.
I have an app that I need to test 3 finger touches and 2 finger touches, is there a FREE application that allows me to use 3 finger instead of being limited to only using 2 fingers like in the simulator?
Not that I'm aware of. I think the iPhone Simulator included in the SDK is the only one that exists. You can't test a 3-fingered gesture without using the actual device.
iSimulate by vimov might be close to what you are looking for. I've sent the question of three finger touches to their support. Unfortunately, it is not FREE ($15.99) and requires you have an iPhone or iPod Touch to use it. You do not need to be a signed up developer though.
UPDATE: I got the following reply from support:
Yes, iSimulate works with up to five
fingers which is the limit of iPhone
touch screen.
On MKMapView, you can simulate a three-finger pan gesture by holding ⌥ + shift and dragging your finger up/down.
Didn't test if it works with other components of the OS.
I working on a utility app. When I run the app in simulator clicking i image at the bottom flips the view in a flash. But when I run the app on iPhone device it behaves abnormally. At times it flips the view in just 1 tap. The other times it does not bother to react even after tapping the image 10 times. I tried with other utility app also - same issue. Thus its not an issue with the code I believe.
Any help to resolve this issue is much appreciated.
Thanks,
AJ
This is a problem because the 'i' button is not very big by default and touches are missed easily.
You need to put another button in front of the 'i' button with the 'Custom' type in Interface Builder, so that it doesn't have any image. Then you can make this invisible button much larger and connect it to the same action as the info button.
You also need to enable "shows touch on highlight" in Interface Builder so that you get the white glow effect when the invisible button is touched.