/r/xamarinios

Photograph via snooOG

Subreddit for Xamarin iOS developers

/r/xamarinios

405 Subscribers

0

Facing Freeze Bug in Xamarin.Forms iOS SDK 14.0 After iOS 18 Update

I'm experiencing a freeze issue in Xamarin.Forms iOS SDK version 14.0 after updating to iOS 18. When I open the app, a modal for notifications appears. I can interact with the modal just fine, but once I close it, the app freezes and becomes unresponsive. I can't click anywhere. The only workaround I've found is switching to landscape mode and back to portrait, which unfreezes the app. However, the issue persists each time I relaunch the app. Has anyone else encountered this, or know of a fix?

0 Comments
2024/09/18
11:12 UTC

1

Trusted Root Certificate not trusted

0 Comments
2024/04/09
11:05 UTC

1

How to redirect new page ?

public override void WillPresentNotification(UNUserNotificationCenter center, UNNotification notification, Action<UNNotificationPresentationOptions> completionHandler)
        {
            // Do something with the notification
            Console.WriteLine("Active Notification: {0}", notification);

 var toolVC = new FindVC(new IntPtr());
            // You need to access the navigation controller to perform navigation.
            // Assuming your AppDelegate has a reference to the navigation controller.
            var navigationController = (UIApplication.SharedApplication.Delegate as AppDelegate).Window.RootViewController as UINavigationController;
            navigationController.PushViewController(toolVC, true);
            
            completionHandler(UNNotificationPresentationOptions.Alert);
        }

This code for in in app notification when i sent notification open this findVC that findVC is my viewController and this above code i write in App Delegate and that code give me this Error

System.ObjectDisposedException: Cannot access a disposed object. Object name: 'PackageName.FindVC'. 

0 Comments
2024/03/11
10:44 UTC

0

Xamarin iOS App not install in iOS physical device in Release Mode.

0 Comments
2024/02/23
05:48 UTC

1

In App Purchase Transaction Failed ?

0 Comments
2024/02/22
06:46 UTC

1

How to make In App Purchase in Xamarin iOS

2 Comments
2024/02/20
04:37 UTC

1

Span Label underline is not working on Xamarin iOS

I'm using a Label with Spans, one of them is a link and I want to add an underline style, I'm using <Span Text="{Binding AcceptTermsAndConditionText\[1\]}" TextDecorations="Underline" />
but it is not working in iOS with "Xamarin.Forms" Version="5.0.0.2401"
.

I have tried to add an effect but all the properties needs to be set again (Styles, touch events, etc...).

PowerShellCopy

<Label>     <Label.FormattedText>       <FormattedString>           <Span Text="{Binding AcceptTermsAndConditionsText[0]}"                                                            TextColor="{DynamicResource PrimaryContentTextColor}"                                                           FontSize="16" />                                                     <Span Text="{Binding TermsAndConditionsText[1]}"                                                            TextColor="{DynamicResource PrimaryContentTextColor}"                                                           TextDecorations="Underline" FontSize="16" FontAttributes="Bold">                                                         <Span.GestureRecognizers>                                                             <TapGestureRecognizer Command="{Binding TermsAndConditionsCommand}"                                                                     NumberOfTapsRequired="1" />                                                         </Span.GestureRecognizers>                                                     </Span>                                                     <Span Text="{Binding AcceptTermsAndConditionsText[2]}"                                                            TextColor="{DynamicResource PrimaryContentTextColor}"                                                           FontSize="16"/>                                                     <Span Text="{Binding AcceptTermsAndConditionsText[3]}"                                                           TextColor="{DynamicResource PrimaryContentTextColor}"                                                           TextDecorations="Underline"                                                           FontSize="16" FontAttributes="Bold">                                                         <Span.GestureRecognizers>                                                             <TapGestureRecognizer Command="{Binding PrivacyPolicyCommand}"                                                                     NumberOfTapsRequired="1" />                                                         </Span.GestureRecognizers>                                                     </Span>                                                 </FormattedString>                                             </Label.FormattedText>                                         </Label>
0 Comments
2023/08/04
16:09 UTC

1

.dll file generation

0 Comments
2022/10/20
07:33 UTC

1

Will you switch to Swift?

I have been a junior Xamarin iOS developer for 4 months. C# is very good language. However Xamarin is a little bit messy and the community is smaller compared to native platform. Every iOS job description requires experience of objective C or Swift. I'm not sure if I will be able to change to another iOS role.

1 Comment
2022/09/18
07:26 UTC

1

Ios Simulator Issues

Hey I'm new to development and I am having an issue with the ios Simulator. Every time i try and run my code of the simulator it takes forever to boot up and then fails to boot. Its aweful for debugging. I am developing on a windows 10 machine and simulating it on a mac mini 2014 model. I have upgraded the mac to run iOS 12 and upgraded XCode to the latest version 13.4.1. I have 8gb of ram, and didn't have any problems before the upgrade. Any recommendations for how to make it boot faster and actually work while I debug?

3 Comments
2022/08/11
14:20 UTC

1

FAB (Floating Action Button)

Does anyone have an idea on how I can achieve this in xamarin.ios and not xamarin forms?

0 Comments
2022/06/30
08:53 UTC

1

Segmented Control Xamarin iOS

Hi guys I'm having difficulty switching UISegmentedControl, how do i do that please?

0 Comments
2022/01/18
12:06 UTC

1

Xamarin Forms - Download Files Using DependencyService 💥🔥👍

0 Comments
2021/07/30
16:31 UTC

1

Xamarin Forms - Contact Picker ( Xamarin Essentials ) 💥👍

0 Comments
2021/06/19
08:47 UTC

0

Xamarin Forms - Drag and Drop 🔥🔥👍

0 Comments
2021/04/23
21:03 UTC

1

Xamarin Forms - Creating Login Page using MVVM pattern 🔥🔥🔥🔥

0 Comments
2021/03/19
12:57 UTC

1

Change Xamarin ListView's text color :)

0 Comments
2019/08/23
06:56 UTC

1

Minimize your debugging time in Xamarin

So you just finished developing your app, you’d like to test it, and so you start distributing it to your users or testers, they discover bugs in your app, but the feedback process is tedious, and never gives you enough data. This is what Instabug exactly is for. Instabug's SDK provides you with an intuitive bug and crash reporting solution. you find a bug, shake the phone, Instabug pops up with a screenshot that you can draw on, then hit send. You'll then get complete device details, network logs, and visual steps the user has taken so you can reproduce the bug. Crash reports are also sent to you automatically whenever a crash occurs along with complete stack trace so you could know exactly which line is causing the app to crash.

Check it out here, it's super useful.

0 Comments
2018/05/10
07:25 UTC

Back To Top