WatchKit context menu shifting interface controller - ios

I seem to be encountering a problem with the latest Xcode 6.3 beta 2.
When I launch the context menu by holding down in simulator it seems to shift my interface controller up and can't seem to figure out why. This problem also happens when I present a view controller when table cell is pressed
Before context menu is launched
http://imgur.com/Jygz4mD,7grFbmQ#0
after context menu is launched
http://imgur.com/Jygz4mD,7grFbmQ#1
Would this be because I'm using paged navigation?
or
Would this be just a little bug in the simulator?
I would really appreciate if you could help.

For WatchKit development you should be using Xcode 6.2 and not 6.3.

Related

Xcode 10 is crashing when making connection of views to the controller

My Xcode has suddenly started crashing when I am trying to make storyboard connection to the view class. I am control dragging the view from storyboard to the view class and as soon as as the pointer gets to the class pane it crashes all of a sudden. I tried removing the derived data, restarting my mac but nothing helped. What can be the problem for this?
my Xcode version : Version 10.2.1 (10E1001)
my macos version : 10.14.4 (18E226)
here is the Gif of crashing
Classic Xcode! I must say
you can connect IBOutlets in many ways though. Secondary click on the Node App Cell view will show you the outlet connectors you can drag from that menu to the view itself.

Xcode Project Settings Preventing TabBar at Bottom of iPhone X Models?

I have an old project that I've been working on and off on for about 4 years now - the project has gone through many upgrades of XCode versions from 6 to 10 (I'm now using XCode 10.2.1 with 12.2 SDK). The main problem I'm having with it is that it utilizes a Tab View Controller to switch tabs, and no matter what I do, I cannot get the tab bar to appear on the bottom of an iPhone X family device correctly: it appears much higher than it should.
To try and finally narrow down the problem, I've essentially temporarily "replaced" all code and storyboard items from the project to see if anything will move the tab bar to where it's supposed to (if I just create a blank new project with a tab bar controller, the tab bar does appear where it should). I created a test storyboard with just a Tab Bar Controller going to one navigation controller (no constraints have been put in). There is no viewController codes attached to them. I've replaced the app delegate with a "blank" app delegate so there are essentially no extraneous code or restraints there at all. And I still get the tab bar moved:
This happens on the simulator and the device, and there is no code or storyboard setting that's doing this (this same setup on a new project puts the tab bar in the right place).
I've looked around in the Build Settings and other properties that I may have missed to see if I constrained something years ago that may affect this, and didn't see anything.
Is there anything I should be looking for in the project settings that would do this?
I don't want to rebuild the project in a new project - there are many linked libraries, certificates, cocoapods, storyboard items, and I know it would be horrible to try and put it all back in one piece.
My Deployment Target is set to iOS 11, Devices: iPhone, Base SDK: iOS
Any help would be greatly appreciated!
This is usually caused by not having a correct launch image for the iPhone X. The easiest way to fix this is to tell the app target not to use launch images (from the app bundle or from the asset catalog) but to use the LaunchScreen.storyboard instead. (If you don't have one, make one; be sure to set it as a launch screen storyboard by clicking Use As Launch Screen and configure your target to point to it. Examine a plain vanilla new project to see what I mean.) You might not want to keep things that way in the long term but at least it will allow your app to launch to the correct size on all devices.

View Controller is not showing with Container View in XCode 8 StoryBoard

I'm building an app which using storyboard and designing view controller using container view. When i first designing, everything seems fine. But after i quit and restart the xcode, this problem is occurred like in image.
The View Controller is missing but the segue still exist, I have found out that somehow the view controller just hide somehwhere and if I delete the segue, the VC will show up again.
Is this a bug or somehow i screw up my XCode?
Thank you.
Looks like an Xcode bug. Lot's of bugs appeared in Xcode 8. Filing a bug report with Apple and updating to the newest version (even if it's a beta build) looks like the only solution for this.

Xcode 8.0 layout issue after open storyboard and perform update frames

I developed a project using xcode 7 and i updated my xcode to version 8.0 . According to the below steps it happens (I just wanted to show in which step this layout bug appears).
i opened my previous project and run in xcode 8 it works fine at first without opening the story board from xcode. (This is only a one view of my app).
And i open the story board by selecting iphone SE (new feature of xcode 8)
i ran the project after opening the storyboard, then this view looks fine too but the storyboard view was a mess
(but many other views looks messy in my iphone after opening the storyboard)
storyboard view looks like this
according the the stack overflow researches i perform "update frames" action in storyboard to this view. after that it looks good in storyboard
but it looks wired when run in iphone after perform "update frames"
is this a bug in xcode 8 or any solutions to this. this layout issue starts after opening the storyboard from xcode 8, without that it works fine in UI
you can check this link :https://forums.developer.apple.com/thread/63133 it should help you a little bit , or (I have done this option in my projects) you can change the frame( of ViewController) to freeroam (600, 600) , if your view looks totally different. The final option is to make you constrains again to fit the ViewController's size(the longest but I think that the best option).
Did you put your UI in a subview?
Cause I have the exactly same problem with you,
and I solved the problem by adding " self.layoutIfNeeded() " in the area which generate my subview.
Hope this help.
This issue is resolved by Apple in xcode 8.1 please download the new xcode and try it again running on simulator or device you may get this issue resolved i have done this and it resolve my issue at once while i am now using xcode 8.1.

Pushing a navigation controller is not supported - since Xcode 6.2 update

Hope someone can help me here,
I have used a segue to popover a tableView onto the main view with no problems up until now.
After the Xcode 6.2 update I get 'Pushing a navigation controller is not supported', I am not setting it as a push, I am setting it as a popover.
I have done a lot of work to this project only to be put back 2 months because of this.
Please help.
PS, I am writing it in swift.
I have some problem and I guess that is Xcode's bug. My solution is to download and use Xcode 6.1.1 instead 6.2.
P.S. In my case this problem happened just when segue is assigned to UIBarButtonItem. So, and after I'm relaunching Xcode popover segue is changed back to push segue.
P.P.S. I'm writing in Objective-c
I'm experiencing the same thing... had to uninstall xCode 6.2 and reinstall 6.1.1 I wonder if this is still an issue in xCode 6.3? I haven't updated to yosemite just yet.
*have not enough reps to comment so I'm posting this as an answer.

Resources