This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Interface Builder Lock Item Positions?
Is there a way to lock the background images in UIViewController? I have many buttons in front and is moving all the time? Lets say, just like in Adobe Flash.
In the Identity Inspector (Cmd-Alt-3) there’s a Lock dropdown where you can lock the properties and the view will stop moving.
Related
This question already has answers here:
What is the best way to save game state?
(2 answers)
Closed 5 years ago.
When I open my game I want to press the play button and then play the last level that I've played before I closed my game.
Whenever you load a level, you could use PlayerPrefs to save the name of that scene. Upon loading the game the next time, you can use the LoadScene function of SceneManager to load the scene whose name we stored in PlayerPrefs.
This question already has an answer here:
Drawing overlay view on top of a web view
(1 answer)
Closed 9 years ago.
I am trying to write an app that shows a PDF and allows a user to scribble all over it with their finger and then save the "annotated" pdf on close, seeing their changes again when they reopen the app.
Currently, I have thrown a UIWebview Up and tried to put a UIView over the top of it as a drawing layer.
Is this the best approach? is there an answer already out there? Any examples?
Thanks.
Yes, putting a transparent UIView on top and painting the users touches in this one is what I would do too.
Maybe this project can help you.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Detect when home button is pressed iOS
I need to know when user presses the hold button while using my app and run a method after that. How can I do that?
As per the duplicate I posted, the only events you can respond to (regardless of which button actually triggers the behaviour) are the application lifecycle events;
See the additional explanation here;
Is it possible to distinguish between locking the device and sending an app to background?
This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
Showing curved text
I have a UIView witha UILabel on it. How can I use renderInContext and other graphical operations to make the UIView appear curved, as in the example below?
The following Core Text tutorial has exactly the same example that you need.
http://invasivecode.tumblr.com/core-text
This question already has answers here:
Multiple annotation callouts displaying in MKMapView
(3 answers)
Closed 3 years ago.
I have annotation views all over the map and tapping on one will display the annotation and tapping another will close first and open the second annotation. (normal behavior)
Is it possible to have all the annotations (titles, subtitles) show on initial load?
The answer is YES, you can display multiple annotations!