gwtbootstrap3-extras slider does not work properly on IPhone6s (OS.10.2.1) - gwt

I tried to use the Slider in my project.
When I tried to drag it using Chrome developer environment with device emulation turned on the tool-tips showing the current value are visible, but I cannot drag it.
When I tried the very same project on my IPhone, I can drag it perfectly but the tool-tips don't show up, so I can't see the value.
Any help will be very much appreciated.

I found out that using the attribute does the trick and it actually works on touch devices like my IPhone 6s . This is remarable because tooltips don't work on buttons using gwtbootstrap3. Actually they work but they take the first tip to show up. So you need to tip twice on a button which is not good.

Related

How to fix objects (text fields, labels, etc) in viewcontroller.xib (Xcode 4)

Sorry I am just learning how to program so sorry for the noob question. I began playing around with Xcode and put together my first test app with just a login and password. The problem I am having is that what is shown in the ViewController.xib screen looks perfectly fine as far as layout. The objects are exactly where I want them to be. However, when I run the simulator, the textfields and labels move around! How can I get it so that exactly what is shown on the ViewController.xib comes up in the simulator? Thanks!
Here is what it looks like from my ViewController.xib screen:
http://i.imgur.com/t9t8oAV.png
And here is what outputs in the simulator:
http://i.imgur.com/2u3FIMN.png
It's caused by autolayout. If you don't want to learn about it (yet), click on a view in interface builder and in right side panel under first tab uncheck "Use autolayout".

iPhone simulator just shows blank grey screen?

I'm trying to learn iOS development, and have run into a problem that has stopped any and all progress. Whenever I build and run my code on the simulator, I just get a blank grey screen! I can't find any help on the subject, so I turn to you wonderful people here. I have no idea what's wrong. Even when I start a new blank project and build/run it, I get a blank grey screen. It seems like something is wrong in xcode that's preventing my MainWindow.xib file to be used.
Like I said, I'm just learning, so I don't have much experience as to how this all works.
Try this: with iOS Simulator active, select Window->Scale->50%. This worked for me after frustrating hours and hours of restarting the computer, reinstalling Xcode, and searching the Web. Turned out there was nothing wrong with iOS Simulator, just that the default Scale of 100% hid all the icons. OS X 10.9.3, Xcode 5.1.1, iOS Simulator 7.1.
Some of the sample project templates (e.g. 'view based application') don't show anything interesting - only a grey screen (bceause it's up to you to actually add something to the view). But if you create a new "Navigation based application" sample project, you'll see a blue nav bar and an empty table in your app.

iPhone game display is off the screen by 10 pixels or so on the device

I recently deployed my first iPhone app, a simple game, to my testing iPhone for the first time. Everything looks and runs fine on the simulator in Xcode, but on the iPhone the whole image is shifted up about 10 pixels or so. So the gameplay goes slightly offscreen on top and has a slim white/grey bar at the bottom. Has anyone encountered this before? I do have the status bar display turned off, I'm wondering if the device handles that flag differently than the simulator. I also have the rotation hardcoded to be in portraitRight mode at all times, and I have an extra line in the code to make the simulator do that automatically that's apparently not necessary on the device.
Everything is very simple, so I'm not sure where this glitch is coming from or even where to look.
Did you use Interface Builder to create your UI? If you did, then go and check each and every XIB file(s) objects' Size & Position as well as Autosizing in Size Inspector (command-3).
It's very important to check both: your coordinates might have gone wrong after some change you did and autoscaling works in weird ways unless you attach to correct edges. Apple documentation should help http://developer.apple.com/iphone/library/documentation/DeveloperTools/Conceptual/IB_UserGuide/Layout/Layout.html

Cocos2d IPhone sprite problem

The problem is - when i load game on iphone some sprites are shown, some are not, plus CCBitmapFontAtlas labels and CCMenu button are also not visible and when i tap on the place where button have to be - there is no effect. At simulator it worked just fine. What is the reason of such strange situation?
IPad aslo works ok.
Hard to say without more detail, but it could be some issue with your build. Try cleaning your targets and republishing to make sure that your iPhone device has the exact files you want it to have. The behavior you describe could come from older versions of image files being used (say, an Atlas sprite going to a frame that used to be blank but has content in the new version).

i image does not work good in utility app on iPhone app

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.