using Xcode designer for xamarin storyboard - xcode

I try to use xcode storyboard designer & xamarin ios designer on the same storyboard and I am experiancing some issues/inconsitencies . Does any one has experience to make it work or could recommend me to not mix both designer ?

You should be able to switch between Xcode's Interface Builder and the iOS Designer at will, without issue so it sounds like you are running into an edge case.
Would you mind filling a bug report at Bugzilla against the iOS Designer explaining the issue, and if possible attach the Storyboard in issue?

Related

Xamarin.form wallpapers on Android and Ios

I developed an application with Xamarin.Form it works very well on Android and also on Ios simulators but to my surprise when I deploy the application on Ios equipment the rendering is no longer the same.
Below are the captures
IOS
Ios
Android
Android
Please help
As xamarin.form does the same rendering I expected the same design on Ios but the rendering is good on Ios simulators but not on Iphone X
I give you some suggestions:
You could try to restart vc, clear the project, delete the bin folders and the obj folders and rebuild it. And iOS simulator you choose should also be iPhoneX.
In Settings App of iPhoneX, you could choose Display & Brightness section. Try switching Appearance from Light to Dark or Dark to Light to see if it make changes.
Hope it works for you.
Ok thank you for your comments.
Here is the solution for displaying it
In the info.plist file you have to add this:
<key>UILaunchScreen</key>
<dict/>
To make the page take up the whole screen
Regarding the black background, it is necessary to take into account the two modes of Ligth and Black theme of Iphone in its application.

Can't use safe areas in Xcode 9 after upgrading minimum deployment target to iOS 9

I have just changed my app from supporting iOS 8 and up to supporting iOS 9 and up. I believe I've done this properly, since when I now build my app, I'm getting warnings for everything in the app which was deprecated in iOS 9.
I am using Xcode 9, GM seed.
The problem is that I cannot enable the "Use Safe Area Layout Guides" toggle in any of my storyboards. When I do, I get a warning "Safe Area Layout Guide before iOS 9.0". Is there some additional setting that I need to update? A clean and build did not fix the problem.
Just deselect "Use Safe Area Layout Guides" option, which should fix this.
A screenshot below may point you the right direction.
Hope this image can help
When you changed the deployment target, did it automatically change the deployment target in your storyboard? (File inspector when opening the Storyboard)
Did you update the deployment target in both the Project and in (all) your target(s)?
Project:
Target:
I didn't try quitting Xcode and restarting it before posting to SO! Sorry! The answer is, quit Xcode and try again.
Simple fix.
In file inspector for the view, look for Builds For in Interface Builder Document and in there select iOS 9 and later.

Xcode storyboard showing osX object library. I want IOS object library

I develop mainly IOS apps but, recently, I worked on an OSX app. Both are possible with Xcode (I use 8, with swift).
Unfortunately, when I switched back to my already-existing IOS project (after restarting Xcode), the storyboard selection menu for the object library shows only OSX objects, not IOS (e.g. UIImageView).
I have googled without success and tried restarting Xcode, also without success. Can anyone help me fix this?
I did a lot more searching and came up with:
Xcode is loading in OS X objects instead of iOS objects
There there are other solutions proposed but the one that worked for me was to close the assistant editor and then, in the file list ( leftmost window in Xcode 8), I double clicked on the storyboard file. Problem solved. I am surprised that this bug still exists in this latest version...it is very troublesome.

Xamarin iOs Build failed : Storyboards

It has been a month that I can't build my Xamarin iOs project. This seemed to have started after I updated to the new Xcode for the free provisioning. Since then, I tried finding a solution to this problem, but I haven't seem to find one.
When building the application, Xamarin Studio prompt me with an error that only indicates the name of my storyboard without any description. (The build action used for my storyboard is InterfaceDefinition which is the default one I guess)
Xamarin Studio also opens the Storyboard when the build failed.
I tried to open the storyboard in Xcode and everything went fine. So I really don't understand what is happening with my storyboards.
I even tried to open it with Visual Studio and the build failed but with no error.
Any help would be welcomed !
Thank you in advance :)
I got the same error.
I found the problem. In my storyboard, I added a tableview with static cell. => this caused the error.
Static table views are only valid when embedded in UITableViewController instances
Just changed my tableview to dynamic Prototype and it worked.
One of the cause can be using same storyboard identifier for two view controllers. I faced this error and was able to detect it by opening storyboard file in Xcode.
Having the same StoryBoard.Id property set on different UIViewControllers is another cause.

Xamarin iOS Storyboard not rendering

I got this error "There was a problem rendering this document" when i tried to load my storyboard in my xamarin iOS application. I created another xamarin iOS project and still got the same error.
You can not do much there right now.
There are two options one should do:
1. Use Xcode storyboard if you can.
2. If the first one is not an option, create and use multiple storyboards in your project, since after your storyboard gets big enough xamarin has a lot of problems rendering and working with it. You have a lot of documentation on how to use multiple storyboards in your project.

Resources