I am using Xcode 13.3 and I cannot change my devices preview like I desire. I mean there are some different types of model but the model that I desire does not seem on the list. I attached the picture below.
Storyboard Screen - Click
On the previous XCode version, I used to do this easily, but not for XCode 13.3. I can change the simulator's view and add new devices but storyboard.
Is there any solution?
Related
I was excited to check out Xcode 11 with my existing xCode project, so I started coding with the latest beta version. Today I wanted to upload my new app update but of course Apple rejected the binaries advising me, to use a GM version of Xcode 11 (not released yet) or the latest Xcode 10 app.
I was able to revert all changes made by Xcode 11 (provisioning profile, etc.) and opened the project back in Xcode 10 but I stuck in an error saying
This version does not support collection view cell content view. Open
this document with at least Xcode 11.0.
I am not able to build, archive or even open the storyboard in xCode 10. I found a single collection view in my storyboard in Xcode 11 which I created using the beta. But also after deleting the entire UICollectionViewController incl. the cells and cleaning the project, I am not able open the storyboard back in Xcode 10.
I've read accepted answer, but it wasn't obvious where to find "property" which could be just switched off or something like.
To make it more clear: you just need to replace all occurencies of collectionViewCellContentView with view in storyboard source code. For example see screenshot:
Next, rebuild and Xcode will remove <capability name="collection view cell content view" minToolsVersion="11.0"/> requirement; or remove it manually if you're using Xcode 10.
Hope will be helpful.
EDIT
Found how to "switch off" using of collection view cell content view, but you'll still need Xcode 11 to open storyboard. Change size to Default in collection view cell prototype size inspector:
Try to open the storyboard file with a text editor and search for the property. Usually when there is a warning, Xcode will show this warning during compile time. See if double-clicking the warning redirects you to the line of code where the problem occurs.
Just go to your storyboard which is not opening. Right click on it , Open it with Source Code and search for the property which is not allowing xcode to open your Storyboard.
Search for the property e.g "collection view content view".
Delete that property block. Now Open your Story board as an Interface Builder.
Note: By Deleting the property you will lost that in your view controller screen. :)
I have updated xcode 8 and then tested application in iphone 6 (ios 10) simulator.
Application desiging is not showing properly as it should be.
In xcode 8, storyboard designing is not proper.
Storyboard showing designs properly but runtime it's now showing properly.
I'm not able to get any solution.
If anyone know the answer please suggest me.
from storyboard, Select your view controller and set proper device from View As button. If your storyboard is designed using previous version of Xcode, try selecting iPhone SE from "View As" as shown in below image.
I am working on a iPad Application.
My target is set to Ipad.
in Storyboard when i add new view controller.i am not able to add Size for ipad like iPad Full Size etc.issue is attached in Screenshot.
Choose Size from Xcode's Attributes Inspector is showing Invalid value.
Please Help me to find out an issue.
while u create the project make sure you have selected Universal option for the Devices.
I've set my Deployment Target to 7.1+ and downloaded the iOS 7.1 simulators for xcode6. When I test the app on a '7.1' device, anytime I navigate back to a view that has already loaded, all the user elements are grey instead of blue.
The bug is between the initial table view and a child table view. How I navigate out of the child view doesn't affect the bug (either saves or discards changes made to core data). The UIButtons are still enabled, it's just as if the color were set to grey.
I'm not sure what code would be worth posting, I'm assuming its something basic? I originally set the deployment target to 8.0. I have since reset the launch image to support the 4" screen but that's about it.
Initial View
Second Load
Thank You!!!
I've seen similar issues with modal presentations in the simulator. I'm bet your problem doesn't manifest on an actual device.
Currently, I'm using Xcode 6 Beta 6 for this thread. I have this single view application for iOS 8.0 and iPhone devices only. That single view have the value Inferred under the Attribute Inspector > Simulated Metrics.
At first I didn't try to apply the Add Missing Constraints since I'm trying to layout the view to support a single layout both for 3.5" and 4" display. After running the current view - WYSIWYG on the simulator. That's fine and correct. When I tried to apply Add Missing Constraints, the changes applied to the base storyboard as well as to the device previews. But when I tried to run the application on the simulator, it wasn't the same.
What went wrong here?