Autosizing while rotating device (iOS) - objective-c

I'm currently fighting with the following problem. Maybe someone of you knows an answer. I think it's not difficult, but i have no clue why it is like it is.
Here's the problem:
First everything looks as it should, but after rotating the device...
.. the textfield disapears under the navigation-bar... Any ideas? :)

Related

Strange drawing on iOS map when working with MKPolyline

In our app we are connecting GPS coordinates from the position of a user. When we are connecting the lines, it sometimes appears that there is a strange drawing happening. I mean the blurry red color thing on the right of the picture below. Did anyone experience this problem before? Might that be an iOS bug? By the way: It disappears when I reload the map. Management is asking me to fix it but I guess I have no influence here. Any thoughts?

I can see elements on storyboard from one screen on the other one - Objective C

Im a begginer in iOS development and I have a problem that I dont know how to solve. Elements from one screen can been seen on the other one, for example a label is shown in one screen while on the other one you can se a small part of that element to, it looks like something is wrong with layout. I dont want that, but firsty I dont know why is this happening and secondly, of course, I dont know how to solve this problem.
If someone could help me, that would be so great.
Have a nice day!

AVFoundation adjusting white balance while focus is close up and background (out-of-focus) is dark

Can anyone please point me in the correct direction or tell me if what I am trying to do is simply not possible?
I'm trying to take a picture of something close up. I am able to lock the focus. That works well. We have found that keeping the torch on while trying to focus and take the picture works best. The issue I cannot seem to resolve is the white balance. If the background is dark, the object I'm trying to focus on is too light. Is there a trick to adjusting the white balance when the item in focus is close up and the background (out of focus) is dark?
I can't provide the code, it's too much. I suppose if necessary I could create a sample project, but my question is probably more conceptual.
Thank you in advance for any help you can provide.
The answer to this question, for those who run across the same issue, is to use a CALayer for an exposeBox and another CALayer for a focusBox. That appeared to do the trick. Of course, I would still like to hear of solutions from others and I'm still curious about controlling the aperture.
Thank you.

Moving background gradient

I have been searching all over the web and even trying to use the code of http://adcyoungguns.org/ but doesn't work at all.
I just want to reply back the moving gradient effect on my div, but to be honest i don't know how to do that in any case.
Do someone ever tried something similar or can just show me an example please?
Gazillion of thanks
I've never done this before, but I think I can point you towards the right direction.
It's most likely either a CSS transition or JQuery animation. If it's a CSS transition, you're in luck, because those are pretty friendly to work with.
On that note, it seems someone has asked a similar question here:
Transition of background-color

iPad not all screen recognising touches

So my current app project is a camera based app and all is going well so far but I have run in to a weird little issue and don't know if there's something basic i'm missing or if it's something more complex.
When I run my app on the iPad in landscape mode (right hand home button), the right end of the screen doesn't recognise touch down events, though if an item is spread across the border (half recognising touches, half not) and you press on the good half and drag, it still recognises the touch and also recognises the touch up event when you let go. Through testing, I worked out that it works fine up to pixel 768 so this makes me think that one of the views thinks that the application is still running in portrait. But then when I run it in portrait, the bottom section (same portion) doesn't work either.
I have looked at another couple of posts on SO:
Article 1
Article 2
I have tried the fixes they say, but have had no luck as of yet. It may be something to do with the fact I have various different views created both programatically and in the interface builder and somewhere along the way, something isn't being initialised correctly but I have tried changing them all, I may have missed some though.
If anybody can shed any light on my situation, that would be greatly appreciated.
Thanks,
Matt
I think the problem has something to do with autoresizing mask. Have you set this? Try to set the background color of all views to see where they are.