I am new to Swift programming and got some issues after i changed the app's name. When i go to Main.storyboard i couldn't see my buttons but the background and when i tried to run it it looked and worked totally fine.
Does anyone know what the problem is?
Related
I'm having a small annoying issue, I'm using storyboards on this app since it's creation, I want to make an update to it and something that used to work before doesn't anymore
See I was using an image as a UINavigationBar Title, Dragged it to the storyboard and it worked almost automatically,
Now well the image doesn't display anymore... Here's a screen :
As you Can see, the UIImageView is there, but nothing shows up. and when I run the app, still nothing...
I'd like to solve it trought Storyboards, but my knowledge is limited
thanks
I'm trying to follow the tutorial on Apples Swift Tutorial
I've followed the UI layout but for some reason, when I hit play and the simulator pops up, my simulator shows up different than my preview. Any suggestions?
I feel this question may help somebody in the future so I won't bother deleting it.
Through my own stupidity I ended up building the UI under the LaunchScreen.storyboard ViewController instead of the Main.storyboard ViewController. Simple fix -> Put things where it belongs!
I created an iOS app with Xcode and Swift. That app contains five UIViewControllers. All ViewControllers are managed by a single UITabBarController.
I already configured some (static) QuickActions in Info.plist file.
I have problems with making them able to open a specific ViewController. Of cause, I already googled, but nothing worked for me. (Maybe because most people use NavigationController, but I cannot/don't want to use it.)
I uploaded my project here: http://www.filedropper.com/myapp. You can download it to picture my layout. There's also already some code to handle QuickActions in AppDelegate.swift. But unfortunately this code doesn't work. Maybe anybody can figure out the problem?
What code do I need to handle it?
Can anybody provide it please? Or does anybody know a simple manual/tutorial?
Regards, David.
P.S.: I tried this code, but it seems to work only with NavigationController?! Code:
Hello and thank you for the help :)
I was working on xcode and everything was working fine.
I dont know what i did but suddenly the storyboard stopped working normaly.
What happens is every time i add a new ViewController or any item to the storyboard it freezes in the position where it was dropped i can add buttons and move the buttons in the view.. but i cant move the view itself on the storyboard.
The curious part is that now every project that i have even the new ones.. the same happens.. i dont know what i did and i tried eveyrthing i found on google to fix it.. but nothing worked. anyone has any idea of what it can be?
thank you very much,
Sérgio
Maybe there's some corrupted file in Xcode. Have you tried to delete and reinstall Xcode? Sometimes, that is a solution.
Good luck!
In addition to #ajpallares answer, did you also clean the cache?
SO,
I am new to iOS programming (and Macs for that matter!) and having trouble getting my feet wet with the Master-Detail Application template in Xcode (specifically for an iPad).
I created a new project using standard settings, then went to the auto-generated "Mobile Master View Controller" entry on the storyboard (I believe it's called a "scene") and added a a bunch of static table cells and a couple of groupings. Looks great in the Storyboard!
When I run it in the Simulator, the navigation is completely blank. I've tried googling and researching, but I don't know if I'm using the correct terminology or keywords as I can't find an answer to something that seems very simple... I've seen some tutorials that mention right-clicking and dragging things in the Storyboard to create IBOutlets and other connections, but I don't know if that's needed here or not.
I have no code to present yet as this is all done in the Storyboard so far. Is any code needed to make this work or am I missing a setting perhaps?
This tutorial should help to you: http://www.raywenderlich.com/29469/ipad-for-iphone-developers-101-in-ios-6-uisplitview-tutorial