I have developed a MAUI app. I did not use any special thing that depends on specific platform.
However, when I run the app in iOS Simulator, the first page I see is this ugly screen:
If I run it in Android simulator, this is the result (after correct authenticaton):
When the application is first launched, it should show these enrollment steps:
I check that condition using this instruction when app is launched:
public static async Task<bool> IsAuthenticated()
{
var hasAuth = await SecureStorage.GetAsync("hasAuth");
return !(hasAuth == null) && hasAuth.Equals("true");
}
As you see, I am using SecureStorage
. I don’t know why the iOS app is not visually acting the same way as Android.
Any hint, please?