We are deploying a .net Webapp and running it on iOS and Android devices. On iOS 15 and later, if the app is on the homescreen, then run, put in background and then come back, all inputs like datepicker and selects are not working anymore. So if you click on the select, nothing happens. A restart of the app helps, but if the app is set in background, the same happens again. I've read from others having the same problems, is there anything done against it? Also tried this for iOS 15.4 Beta 4.
At the moment we are asking our customers to use the app in safari and not on the homescreen to prevent the freezing.
One example input and select:
<input data-clear-btn="false" data-db-class="some_db_class" data-db-name"some_db_name" data-db-typ="date" type="date" id="some_id" value="" data-inline="true">
<select data-mini="true" data-inline="true" class="some_class"
<option value="-1">Auswahl treffen...</option>
<option value="0">Beispiel</option>
</select>
Post
Replies
Boosts
Views
Activity
In my Xamarin iOS App (iOS 15 and later) i tried to save Exifdata in the dictionary with CGImageDestination.Create() and add there the changed Metadata. The data is displayed in the right way in the console, but after saving it with NSData.Save the data is not in the exif anymore, if i write it on the console. I tried changing the CGImageProperties.ExifUserComment and TIFFImageDescription, but both are not saved. Is there any limitation, on which exifdata can be saved or am i doing something wrong? Here is my example code, where i change the existing metadata, set it to the exifdictionary and then save it with NSData.Save().
var img = UIImage.FromFile(file);
NSData ns = img.AsJPEG();
var dicMetadata = ns.ExtractMetaDataFromImageData();
NSMutableDictionary dicDescription = (NSMutableDictionary)dicMetadata.ObjectForKey(ImageIO.CGImageProperties.ExifDictionary);
if (dicDescription == null) {
dicDescription = new NSMutableDictionary();
}
dicDescription.SetValueForKey(FromObject(bf.name.Trim()), ImageIO.CGImageProperties.ExifUserComment);
dicMetadata.SetValueForKey(dicDescription, ImageIO.CGImageProperties.ExifDictionary);
File.Delete(file);
var imgSrc = ImageIO.CGImageSource.FromData(ns);
var outImageData = new NSMutableData();
using (var d = ImageIO.CGImageDestination.Create(outImageData, imgSrc.TypeIdentifier, 1, new ImageIO.CGImageDestinationOptions())) {
if(d==null) {
Console.Write("could not generate dest");
}
d.AddImage(imgSrc, 0, dicMetadata);
d.Close()
}
NSError writeError;
var imageSaved = outImageData.Save(file, NSDataWritingOptions.Atomic, out writeError);
We are developing an application for iOS in Xamarin in Visual Studio (XCode CLT 14.3.1 on a MacBook Pro with M2 Chip and Ventura). We have a Woosim Printer, where the sdk is written in c++ but uses Swift modules. When i try to add the .dll in the project i get the following errors.
I added these flags to the project:
--gcc_flags -L/usr/lib/swift --gcc_flags -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos --gcc_flags "-Wl,-rpath -Wl,@executable_path/Frameworks“
Does anybody know, what am i doing wrong? Or is this a linkerproblem?