iOS 11 Document Based App template - remove sidebar browser. [duplicate] - xcode

I need to do the following customizations on the provided iOS 11 Document Based App Template:
A library with only my App files, as Procreate example App bellow
Get rid of the sidebar browser, so I have a fullscreen that shows only my library.
https://assets.procreate.art/video/home/mp4/block-10.mp4
I have asked Apple Code Level suport but still haven't got an answear. Can someone please help?
Thanks!

Related

iOS app does not display image that is in the launchscreen at start

I have a small app that I am using to find out my my main app does not show the launchscreen correctly.
The launchscreen has an image ( modified screenshot of the app) but I only see a white screen.
I would be happy to use debugger but am not able to do a step into at the start and the only code location I can find to put a breakpoint in is after the launchscreen has been processed.
Can anyone help me with a hint as to where I can get the debugger to give me control at the start of the app.
I can run it on simulator or attached real phone via Xcode 14 on Monterey 12.6.3.
p.s. I have posted a similar question on the apple developers forum and had no responses.
I have so failed to find any way to discover why the launch screen does not display correctly.

Can't find NavigationStack in autocomplete and can't run playground apps on MacOS

I'm trying to work on editing grids sample app in playgrounds. It works fine on my iPad but it is not working on my Mac. I can see the code but I get an error message that minimum deployment target is 16 and there is no preview showing. MacOS is up to 13 no? So I guess it is refering to iPad OS 16? How do I fix this on my Mac?
Also the code references NavigationStack which now replaced NavigationView but in Xcode it doesn't show up in autocomplete and the compiler doesn't recognize it.
When I go into apple store both xcode and playground just say "open", there is no update option.
What do I do?

New IOS 14 privacy feature for photos

I've been testing my Xamarin app on IOS 14 beta 5, and I saw that there is a new privacy feature, where you can control what photos to share with your app. I am using an UIImagePickerController to display the photos, but right now I get all photos(even though I selected only some to be used by my app), and when trying to select one that was not in my selection, the app crashes.(PHImageManager.DefaultManager.RequestImageData return back wiht error code -1 in this case)
My question is, will there be some new features in the next Xamarin iOS framework to support this functionality?
Because I've been reading on the IOS developer forum that they are planning to have a new PHAuthorizationStatus-> PHAuthorizationStatusLimited, and maybe based on this status, we could filter our pictures.
Or is there currently a way to filter the photos I present on my UIImagePickerController?
Thanks
Apparently, in Xamarin.iOS 13.99.0, they introduced the new status: PHAuthorizationStatus.Limited, and also a new type PhotosUI.PHPickerViewController(since UIImagePickerController is obsolete, we will need to use the new PHPicker ).
More details on added or changed types are found here:
https://learn.microsoft.com/en-us/xamarin/ios/release-notes/api-changes/ios-13-20-2-13-99-0
If anyone needs to use this version of Xamarin.IOS, they can find it in Visual Studio->"Check For Options"->"Xcode 12 Preview" (Visual Studio 2019 For Mac).
Maybe someone will find this useful.

Customize iOS11 Document Based App Template

I need to do the following customizations on the provided iOS 11 Document Based App Template:
A library with only my App files, as Procreate example App bellow
Get rid of the sidebar browser, so I have a fullscreen that shows only my library.
https://assets.procreate.art/video/home/mp4/block-10.mp4
I have asked Apple Code Level suport but still haven't got an answear. Can someone please help?
Thanks!

Google Sign-In for iOS using Xamarin throws exception logs point to podfile

Trying to implement the Google Sign-In for IOS in a Xamarin project. Right on the Google page where it generates your GoogleService-Info.plist file, it says, "Insure you have CocoaPods installed and configured for your project. In you Podfile, include the following: pod 'Google/SignIn'".
And sure enough, the log on the Mac shows a similar error when going through the initial configuration.
But, I can't find anything that really tells me how to add a "Podfile" to a Xamarin IOS project (from within Visual Studio 2017, running on Windows 10).
So, when it comes time to actually click the Sign-In with Google button, in an IOS 10.3 IPhone 6 simulator, it throws an exception,
"Foundation.MonoTouchException: Objective-C exception thrown. Name:
NSInvalidArgumentException Reason: -[__NSCFString
countByEnumeratingWithState:objects:count:]: unrecognized selector
sent to instance 0x608000047200".
I can only hope it is really because of a missing component that the Podfile is supposed to resolve.
Saw a sample from a year ago that supposedly worked, but with what seems to be current right now, I can't get it to.
Update:
The sample I am trying to use, creates a custom class for the View so it can implement a custom Renderer, and a custom class for the page, again, so it can implement a custom Renderer. The View Renderer simply does:
signInButton = new SignInButton();
signInButton.Style = ButtonStyle.Wide;
signInButton.ColorScheme = ButtonColorScheme.Dark;
SetNativeControl(signInButton);
The Google button shows up, but when you click, you get the exception listed above.
A recent update to Xamarin required an update to XCode. With the update to XCode 9,the problem went away, and Google authorization is working.

Resources