Slow image loading Nativescript - ios

i'm developing a mobile app with Nativescript.
In my app i have a list-view with some image objects which are downloaded from my google cloud storage bucket. I mean the src property of the image is something like: "https://storage.[...]/image-1.jpg".
Now on android everything is working fine, but when i tested it on the ios simulator and on the iphone device, it took a lot of time to load the picture.
It took something like 2 minutes to load a bunch of pics.
Anyone facing the same issue, how can i solve it?
Thank you!
UPDATE:
After two weeks with the mac broken now i can test again the app, but the problem is still there.
The issue is that just the images are not appearing but all the other components are working correctly with good performance

Check debug->slow animations. Had same problem accidentally toggled slow animations.

I'm a bit late, but i figured out what was the problem.
Basically it had to do with the layout.

Related

Content not visible on IOS

I am having issues with something on my website. I wanted to make a timepicker and it worked well on my laptop but as soon as i test it on my phone it breaks the timepicker. This website should only work for Mobile and i noticed that this problem only occurs on IOS. Does anyone know what the problem might be? I will leave images to make the problem visual. Thanks for your suggestions On laptop but with Mobile mode activated On IOS no time visible

Slow rendering (during scroll) on ios (tested on ipad mini)

I am facing some rendering issues with a web application I am developing.
It's displaying a grid of images. This has been tested to work fine on all desktop browsers - windows, mac, linux, all mobile browsers - android, iphone & a few major android tablets. I have this problem only on ipad mini.
When i scroll through the screen, there are brief periods of slices going completely white and then they get rendered (with some delay). If I scroll up the same thing happens again. Feels like some browser optimization.
Tried searching for this problem and looks like a few people have faced this. The problem I am facing is exactly as posted in this youtube link: https://youtu.be/ABp8vXtBQCw.
My ipad is running on version 11.3.1. This happens both on safari and chrome.
Few other websites I noticed having the same problem: pinterest, instagram, cnn, nytimes (magnitude varies, but can notice the problem). However I do not notice the problem with houzz.com which has as many images but still loads perfectly fine without any lags.
I am not exactly sure what exactly causes this - images, positions, etc. Has anyone come across this and know what this is? Any help would be much appreciated.

Xcode splash screen not displaying correctly

I am currently building an iOS objective c application and am working on the splash screen now but am running into display issues when running on a device.
This is how the layout is set up in my storyboard:
This is how the screen looks in a simulator, the correct version:
And this is how it looks on a device, the incorrect version:
Has anyone ever run into this problem and if so, how did you fix it? I'd be happy to provide any code if needed but i'm not sure what to include that would help solve the problem.
I have experienced this problem, too simple, this is an iOS BUG that can appear when you build directly from XCode, there's no specific solution, try restarting the iOS Device, I have never seen it when downloading the app from apple store after publishing, so simply ignore it, people who will download the app from apple store will not see this.

iOS Simulator Rendering issue for PDF Reader Core for iOS

I have searched around on here, but couldn't find anything to answer my question. I have developed a custom app for the iPad; it involves using a set of PDf documents that change pages based on a 1 second time frame. To achieve this is have used the 'PDF Reader Core for iOS' external library. Please find the link here: https://github.com/vfr/Reader
The app works perfectly fine on the actual iPad, however I also wish to run the app on Mac Mini Machines, so the obvious thought I had was to boot the project in the iOS Simulator on the machines (saves me recoding it for OSX.). Now, here is my issue. The app works pretty smoothly in the simulator, the only issue I have is that there is a slight render lag between the page change on the Simulator. It isn't at full resolution, and appears blur whilst it renders, however the time frame to change is so quick that the simulator doesn't have enough time to render to full resolution. I have also emailed the developer of the library and he provided some suggestions however, these didn't seem to fix the issue.
I am aware that this could be to do with the actual PDF Reader itself, however I wanted to ask if anyone had any suggestions if this could be fixed in regards to the iOS Simulator? Any way to speed up the simulator?
I am using OSX Yosemite, Xcode 6.4 and Objective-C.
It seems at this moment i may have to recode for OSX. Any suggestions would be highly appreciated.
Thanks

Sprites is not loading in Ad-HOC mode in iOS

I am completely stumped here. Created my game, all working in XCode' simulator and also on my device when directly deployed from XCode.
I Submitted my app and they rejected it and asked me to run in Ad-HOC mode in my device to test since the app was not working.
I can replicate the issue in Ad-HOC mode.
Issue: Once replace scene is invoked, the tile map is not populating
the Sprites from the sprite-sheet created using the TexturePacker
software. The app does not crash, however the Scene is empty with just
the background without any Sprites loaded in it.
Not sure how can this be a code issue since works fine when I install directly from XCode.
Please help, thanks in advance :)
#LearnCocos2D, Thanks, I found out the bug last night. I did not use CC_CONTENT_SCALE_FACTOR() when placing sprites using tilemap co-ordinates. Amazing thing is, it worked in debug mode but did not as soon as I released the binary :)

Resources