I've spent hours trying to figure out what I would think is something very easy to do. I'm using the default Launch Image and I want it to be showing until my main menu transitions onto the screen. the problem is it fades to black and it doesn't seem to be changeable despite all the research and copy/paste of code. There is just so many errors and not enough detail in the answers.
The whole reason i want this to not fade is because my main menu enters through transition from the top of screen and is like an "extension" from the launch image, as if the main menu is pushing down my launch image until it fills the whole screen.
Any help is greatly appreciated, I'm still a beginner in Xcode programming so detail would be great. Please post code and any variables or anything that need to be added for it to work.
THANKS!
We can't do any animation with the launch image. Solution for your problem is you can keep a view showing the launch image after the launch screen appears when app opens. And you can do any animation with that view and your main menu.
Related
I'm new to swift and Xcode, and I'd like to know is there anyone willing to explain to me how exactly should I make my launch screen to show for 3 seconds and in that time slightly fades out?
I want to do a web view of a web page that I built previously, but want it to do the launch screen with fading before.
I've read all other questions related to the topic, but I don't understand them. Also have been following some tutorials on the subject, but nothing.
Anyone, please?
You can't do anything on your launch screen.But try this out and see if it's okay. Let's say you want to give a fade-in animation for an image in the launch. Let's assume that your launchscreen background color is blue. Make another viewcontroller and make this the first viewcontroller right after the launch screen. Make the background color of this view blue and add the image to that view. You can animate the image with UIView.animate method with a delay of 3 seconds or something. Doing this will make it look like an animation in the launch screen.
You can't do this in the launch screen.
That is not what the launch screen is for.
If you want to do this you will have to create a secondary "launch" screen that your app loads first and then load the web view and when it's loaded push another view onto the screen,
In my app LaunchScreen.storyboard, I put a progress bar and I want it to move (load) according to how long my app will actually start.
I have followed link, but it's not working. I just started learning iOS programming so please bear with me.
I appreciate your ideas.
You cannot add any logical code to your launch screen as you want.
At launch screen time, Your app is not launched at all. So your code for progress bar will not be running.
I think the better way is using a launch screen first, then show a viewController with a progress bar as you need.
Also you can set launch screen story board as you want.
You can't perform any operation on launch screen.
Please check this link https://stackoverflow.com/a/7441962
For that you have to create your own splash screen displayed right after the default iOS one.
Check this link for custom splash screen
https://www.raywenderlich.com/133224/how-to-create-an-uber-splash-screen
I am making a single view application in Xcode and I am having a little trouble*(By little I mean BIG trouble!)
I wanted to make a clone of the Apple's News app home page where the buttons are are blurry than come to focus.I want to use that effect for three different ui elements.I have been trying for days but no success. :(
Is there a way of doing the blur than focus animation to a label a button And image view? If so can you please guide me on how to do it?
Thank you for your time.
I'm running into a very strange issue with 3D Touch previewing in my app. As you press into a cell to show a preview, a view seems to grow out of the top left corner, until it's about to show the preview view controller, at which point it's the full size of the view controller.
Here's a video of the behavior
I haven't been able to replicate in any apps I've created from scratch; however, creating a new tableview and view controller in the same app it still does it:
Video
I know this isn't a lot to go on, but I've exhausted my debugging knowledge. I'm not getting auto layout errors, when I debug the view hierarchy the view just isn't there. I'm hoping someone has experienced this and knows how to fix it.
Thanks!
It took me a while to hunt this bug down. Turns out it's caused (in my case) by https://github.com/icanzilb/EasyAnimation. When I remove the library the bug is gone.
Cheers!
Edit: As it happens it's documented here: https://github.com/icanzilb/EasyAnimation/issues/14
I have a scroll view, and few buttons/images there. on clicking I would like such animation :
(image opens like )book cover opens, and related view controller opens with ease in animation and gets full screen.
Any thoughts ?
Something similar happening in cook app
Link of cook app : https://itunes.apple.com/us/app/cook/id687560846?mt=8
Edit : I have added animation, gif will run uninterrupted once completely loaded.
Might I suggest iBooksOpen, a library that provides a book opening animation. It's pretty lightweight and should meet your needs.
(Only drawback: it opens a single page to the whole screen, but you could adapt the geometry if you wanted a page-folding-open effect.)