Sencha Touch 2.4.1, bug with iPhone scrolling - sencha-touch

A bug appeared after I upgraded the sencha touch fw from 2.3 to 2.4.2.
From time to time, when I scroll down or up the application, all the page scroll, and a black screen appear up or down...
This issue i random on iPhone.
Some people already experimented this issue ?
Thank you !

We have investigate this issue.
This issue appear when we try to scroll a list and some link are in the item template.
Scrolling with a finger on the link make the screen moves, scrolling with a finger outside the link the list scroll normally.
For the moment, as the application is in production, we just downgrade sencha to 2.3.1, and it's working.
So we stick on sencha 2.3.1 for the moment, and try to address the issue later.

Related

Appium iOS can't inspect notification layer

Im using Appium to test my notifications in my iOS app.
Im sending with another device a notification while the iOS app is in BG. Then I swipe down using :
((IOSDriver) wd).swipe(500,0,500,1000,1000);
The above works, the screen get scrolled down and I can physically see the notification. The issue is that the appium still inspects the screen below.
I checked appium inspector and it verified that it doesn't recognize nothing but the elemnts of the layer below the notifications one.
Any approach ??
As long as I know it is known limitation for iOS now.
You can get notification bar elements on Android only
But based on top comment it should be possible to wrap up with Appium since Xcode 9 introduced interaction with multiple apps, so its matter of time.
I found a workaround that fits my needs.
I found out that if I click the home button and then swipe down the notification are visible to Appium.
Because Appium not having key events for iOS, iPhone has the an accessibility option for home button, I toggled that on and I can simply click it during the test and swipe down the notification center.
I know it's not ideal but its working.
Thanks for the help.

Buttons not working on ipad simulator

I've recently updated my project for iOS 10 and now the buttons on the bottom of the screen don't work in the ipad simulator. Other buttons in the app work while in the ipad simulator and all of the buttons work on all of the other simulators. Tried searching around for this problem but didn't find anything so I'm pretty stumped.
Edit:
Buttons that aren't working are "Bet High", "+", "-", "Bet Low". You can click them and tell they are clicked by the animation but the action linked to the buttons aren't getting called. Clicking the ad works too
screenshot
Edit #2:
Now I feel stupid. After poking around with NSLog I found that the iPad Pro (9.7 inch) simulator thought it was a 3.5 inch display so it was using my storyboard for 3.5 inch displays which didn't have those buttons hooked up to their corresponding actions (still weird though as each storyboard was duplicated from my original storyboard for the 4.7 inch display which had everything hooked up when duplicated)
*face palm
Check the UI like storyboard, buttons and so on. You can try rebuild the button again. If the problem still happen again, copy the sample code from internet like Apple Developer and check your code. You can also the your simulator and run it again.

Storyboard not rendering added views

I am trying to execute the steps described in iOS developer library basics tutorial. When I add "Scene to story board" run the simulator, I am not seeing the label. It is just white screen. Not sure what is causing this issue. Any suggestions?
Environment:
iOS SDK7.1
XCode 6.0
Rented server machine from MacInCloud.
EDIT:
Here is snap shot of my Xcode:
When I use "Single View Application" template, "Views" I am adding to story board are showing up properly in simulator.
It could be that the positioning of the label is outside of the visible screen. One quick way to rectify this would be to add a new Alignment Constraint so that the label is "Horizontal Center in Container". An example of how to add an Alignment Constraint below...
I thought to close this question first, but it seems not a good practice, so adding solution as answer.
I missed To configure the app delegate implementation file step from the documentation, which is why it is showing white screen. Make sure you delete the code which renders white background.

Mobile site not centered on iPhone

I'm building a mobile version of a website, using Sencha Touch 2.0, I'm basing the mobile site on the sample app provided in the Sencha Touch Documentation ( http://docs.sencha.com/touch/2-0/#!/guide/first_app ).
I'm testing the app on http://iphone4simulator.com/ just to see what it will look like, but for some reason its not centered, its thinks the screen width is 360px instead of 320px.
I'm not sure how to correct this, has anyone experienced a similar problem ?
Regards
Actually looking closer at it, I think the problem is http://iphone4simulator.com/ and not sencha touch.

Grid Scrollbar not working on I-pad

I am using ExtJS 4.0.7
I have grid on my page. If there is too much data scrollbar automatically comes, in Chrome, Mozilla IE even on Safari as well.
But when I try to access the same application in I-pad , scroll bar are not working.
Note:- Grids reast fetures i.e. pagination etc are working fine. Only scrollbar are not working.
Is there any specific reason for this ?
This is a known problem with Ext 4.0; it uses virtual scroller for grids and it's completely broken on touch devices. Ext JS 4.1 solves this problem and scrolling works on iPads, although scrollbars are not displayed.