IOS Webview slow on iPad 1 and iPhone 3gs - iphone

I'm currently developing an iPhone app with a webview. The app works on every device higher than an iPad 1 or iPhone 3gs but on those two devices it running slow after about 5 min.
It just a simple app with a webview, and when I try it on the iPad 2 is runs smooth.
The website i'm loading has some javascript but it works on the safari browser of the iPad 1 and the iPhone 3gs.
Does anybody know what's going wrong?
Thx!

I don't use ARC but found the problem.
In the app I use the Reachability class from apple to check if the device has an internet connection. My loading function was looping and the apps keeps testing the connection.
After I changed the loading function to check the connection only once the problems is gone!

Related

Submit IOS App to App Store rejected because of iPad crash / SwiftUI

Im trying to submit an app to the App Store that I originally planned on only supporting with the Iphone. However, I found out that Apple requires apps to be run on iPad as well. I have clicked iPad in the general deployment info but is it possible for the iPad app to be just a mini version of what is seen on the iPhone. When I run the current code on an iPad simulator, it fills up the full screen and treats it like any other device. I don't want it to do that and just have an iPhone 1x/2x zoom size frame which I've seen other iPhone primary apps do. Is this possible in SwiftUI? Thanks for all your help.
I've also unchecked requires full screen on the App Store.
Simply do not check iPad in general deployment and your app should run as an iPhone app with the x1/x1 zoom option.

SceneKit crash on iPad Air 2

I am developing an iPad App using SceneKit. It is still under development, but I have a few users testing via TestFlight.
One user has an iPad Air 2 which is consistently crashing. The App works OK on my iPad Air, a number of iPad 2 devices and the iPad simulator.
Crash logs from the iPad Air 2 all state the crash is caused by 'gpus_ReturnGuiltyForHardwareRestart'. The offending thread does not link back to my code so I am unsure how to resolve this.
I do not at present have access to an iPad Air 2.
Any suggestions on how I can overcome this issue?
Many Thanks
update your device and then check.

Xcode 4.2.3 App Not Running On iPhone 4S

I have just started to learn how to code iOS apps. I have made a quick app as a first test. It runs perfect in the simulator but when running on my iPhone 4s the app runs and instantly i am set back to home screen.
Heres a link to my app if you could kindly view it and see what the problem could be because I have no clue.
http://netload.in/dateiGpnBm98FTY/FirstTest.zip.htm
Thank You
Try set a Device frameworks, not a frameworks for simulator

Xcode 4.2.1: universal app runs on iPad but not on iPhone

I am working on a universal application where I am stuck at one point. I was able to successfully launch my application both on iPhone and iPad but since 2-3 days, I am not able to launch my application on neither iPhone nor iPhone simulator but it runs smoothly on iPad/iPad simulator.
Also when I run my app choosing iPhone device it shows message like Running the App on iPhone simulator but I am not able to see any effect on my simulator. I am using Xcode 4.2.1 and I guess the issue is pertains to the same.
I don't know whether it is a solution or not but got a way out by reinstalling the iOS Simulator.
I have faced same problem. This probably happens when you replace the application with the newScheme/EditScheme by mistake.
Just carefully check when you run your application is there your application name appear. This will be immediate left at where you choose iPhone simulator or iPad simulator version.

Is there any way to simulate safari on the iphone 3 without access to the actual phone?

I'm having the rather frustrating problem of a website problem on iphone 3 that doesn't appear on iphone 4. I can't get my hands on an actual device. I'm running windows. Is there any way of simulating safari on iphone 3?
the only way to emulate the iOS browser is with the iOS Simulator which is part of the iOS SDK, however this requires a Mac to run.