iOS widget not working on few iPhone5S - ios

We are facing very weird issue. We have implemented the iOS8 widget and its working fine with iPhone5, iPhone5C, iPhone6 but it's not working with iPhone5S. Sometime its working with iOS 8.2 and sometimes it suddenly stop working. I am not able to figure out the exact cause.
Widget is showing only app icon & app name and doesn't show any widget content.
We set the architecture to arm64 as well but doesn't help.
Please let us know if you have any idea to resolve this issue or some faced the same issue.

If an extension takes too much time to load at start then it won't show up and would show as crash in device logs. Check device logs.
Also recheck if you are setting the widget height properly.

Related

Is there a way to solve the iOS 14 Widget flicker issue?

I'm experiencing a strange graphic issue (flickering) for iOS 14 widgets on the Home Screen and also in the Widget Gallery. The problem seems to occur after an app update gets installed. During development I thought this is a problem with the iOS Simulator, but now users reporting this issue, after I released an app update.
Was someone experiencing the same problems? Is there a fix for it or is it a bug from Apple?
Here are 2 videos showing the problem. Once on the Home Screen and once in the Widget Gallery. Home Screen flickering
Widget Gallery flickering
I’m having the same issue. “Color Widgets” flickers and it’s irritating at times.
This is an issue with iOS 14.0. (This issue was there in the betas, not sure why apple didn’t fix it)
I guess Apple will get it fixed it in the next iOS update since a lot of users are complaining.
Seems iOS 14 issue but while development you can avoid this by removing Widget from home screen before adding new version in simulator/device.

Xamarin app crashes after launch screen on iOS 12

So I made an app using Xamarin.Forms v3.4.0 tested an android device and on my iPhone (SE, iOS 13.3) and it works perfect.
Just as a test I ran it on an older device (iPhone 6, iOS 12.4) and it crashes just after the blue launch screen.
The problem is that it doesn't even starts the debugger. Crashes so early that the debugger doesn't even start yet, so I have no idea how to identify what is causing the crash. Tried putting breakpoints on Main.cs and AppDelegate.cs first line's and, again, debugger doesn't stops there.
After that I thought it may have something to do with the device's processor so I set up a simulator for an iPhone SE with iOS 12.4 (same device, older OS) and it crashes just the same. So yeah, it has to be something about the OS version.
Other of my ideas is that maybe it's something dark mode - related (I'm sorry I'm just throwing ideas). I implemented Dark mode using this guide
I have no idea where to begin with this, any help it's appreciated.
Edit:
Just updated Xamarin.Forms to 4.4.x and I still have the exact same problem.
The problem was actually in the custom page renderer I use to handle the Dark Mode. Apparently, the previousTraitCollection argument of TraitCollectionDidChange() is null in iOS 12.
So it was just a NullReferenceExceptionvery easily fixed:
if (previousTraitCollection == null)
return;
I have no idea why the debugger didn't start in time to identify the error, but by mere luck, I discovered it by modifying the Linker Behavior to Link Framework SDKs Only

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 not showing iPhone Frame

I've read a few other posts on this, and tried the solutions but they don't work. I also tried CMD-1 to show it at full resolution, and still no frame. I also added a frame.png file to the contents->resources folder for iOS Simulator app and still nothing. To be clear, I'm trying to get the iPhone frame around my emulator
I'm building my iOS application with ionic. I'm using iOS Simulator 8.1 and Xcode 6.1.1
Would appreciate any help, giving a presentation tomorrow at school and hoping to have this thing polished. Thanks in advance for helping.
As #timgcarlson said, Apple removed this in Xcode 5 (or around that time). You cannot get this feature any longer. Bummer!

iOS 8 Today Extension Widget only appears on iPhone after rebooting

I have created a working iOS8 app extension widget for my app. In the simulator it appears by pulling down Notification Center and clicking edit and adding the widget, however if I compile my app to my iPhone 5S, the widget does not appear in the Notification Center today view until I after I reboot. Each time I compile to my phone I have to reboot again before seeing my widget and re-add it. After rebooting my phone the widget always shows up as expected but before rebooting it is like it does not exist.
Does anybody know why this might be happening? It sure is tedious rebooting after each compile.
This is a known issue in Beta 4 and hopefully will be addressed soon.
After updating a previously installed Today extension, the extension
may no longer launch. (17241004)
Workaround: Reboot the iOS device. (source)

Resources