I was playing around with Localization.strings because of a strange search result with swedish characters, so I read somewhere that Localisation was the thing to do. I had it wrong so I removed the file I just made.
Now the problem is, if I add a new object in the storyboard, it doesnt show up in the simulator. What's is wrong?
Cheers
We just had the same problem, looks like when there's a storyboard file change you might need to delete the application from the device to force the use of the right version.
Hope this helps!
Best
Related
I have an iPad project that i've been wanting to add an iPhone part to it.
So I've added a target and added a new Storyboard, but when I run the app and pressing a textfield, the keyboard looks strange. As if the resolution is low.
The left one is how it looks and the right one is how I want it to look:
Anyone has any clue? Thanks
Special thanks to James.P (from the comments above) for a great solution.
Apparently, this happens when one doesn't use any LaunchImages at all.
Just make sure to use LaunchImages correctly and it should be solved.
Swift...
So I've got an existing app and I'm working on its appearance. The current task is customising the decimal pad that pops up when the user hits a textField.
I've looked around on how to make it but it always seems that you have to go into the iPhone/ipad settings and add the custom keyboard.
eg. This StackOverFlow Question
and they all seem to point to this same tutorial..
iOS 8: Creating a Custom Keyboard
My problem is that I don't want the user to have to go into settings.
So the question is....IS THIS POSSIBLE?
The following pic is what I want to use. I have made this in an XIB file through adding a target keyboard which makes the new folder with KeyboardViewController.swift , info.plist and NumPad.xib. Though i think I'm on the wrong track, can someone point me the right way please.
Also anyone know the exact dimensions this view should be.. assuming what I'm asking is in fact possible. Let me know if I'm not being clear enough!
NumPad.xib(pic)
Many many thanks,
Steve
SOLUTION: Thanks to Andrea for correcting my search keywords. It led me to this Stack Question which hopefully sends some others to the correct end of the internet that have mistakes custom keyboard with custom input views!
Sure it is possible without going into settings, but they are called custom input views.
You should look into inputViews here what Apple says about them Custom views for data input.
Basically when the user press a text field instead of loading the usual keyboard it loads an inputView that you specify, pay attention that custom keyboard term is misleading. If you google for tutorial you'll find most probably link like the ones that you found.
For a practical example check this tutorial or this, is a little bit old, but the principle are still the same
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 turned internationalization on and the storyboards seems to have mixed up in the process and I have idea how to switch it back. Now I have two Main_iPad.storyboard.
The problem is when I update my storyboard(Base), nothing will be updated to the storyboard(English). And the english one is launched in my app.
Should I delete it the english one?
How to set the storyboard to base? I checked the plist and setting which storyboards to use is not language specific.
Possible to update one storyboard and it will update both?
Any advice would be grateful!
Is there a way to add a comment on the iOS storyboards? Currently we have a project in which several people are working on the same interface and it would be very helpful to be able to write in the storyboard itself, so you can leave a note to others or to put stuff to remember later.
Something like a bubble with a message on it like "Mark, please fix the logout button, change it to red". Is there something like this? I can't found it.
Not that I have heard of. My suggestion is to use a View Controller that isn't connected to the other scenes and have a textview in there that you write on.
The other thing you can do in the implementation file is to use a
#warning Mark, please fix the logout button
directive
This would show up as a warning whenever the project is built or run.