UINavigationController view is cut off when 3.5 inch screen - uinavigationcontroller

I got a problem when using UINavigationController in 3.5 inch screen. in 4 inch screen, there is no problem. the screen will look like this
But in 3.5 inch screen, it became like this
The bottom part is cut off. I looked for other similar questions here ( ex. UINavigationController have to set view height to 548 on 3.5 inch screen ) But didn't get a clear answer. Anyone knows how to solve it? Thx in advance.
[update]: solved the problem by:
in viewDidLoad:
self.devicesettingnavigationcontroller.view.frame = self.view.bounds;

There is an autosizing option. You have to do something like. I think this is what is causing this issue.
Then do this:
Hope this is what you are looking for. Thanks.
UPDATE
Please try this:
Hope this works. Thanks.

Related

Container is not scaling smaller than 576px

I'm working on a wordpress template with bootstrap 4 and I'm kinda lost. The container isn't scaling down smaller than 576px and I can't figure out why.
Here's a link to the website:
I really don't know where to begin to look for the mistake I'm making, so any idea would be highly appreciated.
after doing some inspecting it looks like your maxmegamenu doesnt have any media query that accounts for any screen sizes smaller than 600px
Wow.. nvm. I had a min-width:550px on the html-element in CSS. I don't even know why. Removing that fixed the problem.

Unity 2d game screen messed up bug

Can anyone help me with this? i dont know what is happening. but the game screen is totally messed up.. even when played
fixed by making camera Clear Flags to Skybox

watchOS 2 image scaling bug (Aspect Fit/Fill)

On watchOS 2 beta 4, Xcode 7 beta 4, Group's image do not scale as I expect.
Actual size of image (named MvF86#2.png) is 215x221 and I want it to be fit in 150x150, but it's just repeat from the top left corner...
Should I resize original image itself or something wrong in my settings?
Thanks in advance.
I've gotta same problem, but it seemed the problem was fixed in watchOS 2 beta5 released today. Please check it out!
You need to have the images twice the points you setup in storyboard (for 150x150 group background you need 300x300 image in order for it to look sharp).
Nevertheless, your setup seems to work for me. Do you have the image in the correct group in xcassets? I've got it working this way

How to define number of images in Qt image's carousel?

Well, i saw a Qt Quick Image's Carousel Example in http://developer.qt.nokia.com/wiki/Qt_Quick_Carousel. I adapted for my specific situation and it worked!
Ok, but i'm with problems still. I want to show just 4 images each time, but i didn't see something about this. I'm reading also a QML documentation in http://doc.qt.nokia.com/4.7-snapshot/qml-tutorial.html...
Do someone know how can i to show just 4 images each time in the that example code?
pathItemCount property from PathView will help you.

Flex 4 - center popup

How can I center popup window in flex 4 ?
I have tried:
PopUpManager.addPopUp(AlertPopUp,DisplayObject(spark.components.Application), true);
PopUpManager.centerPopUp(AlertPopUp);
but it's problem with conversion Application->DisplayObject.
Please help :)
PopUpManager.addPopUp(AlertPopUp, FlexGlobals.topLevelApplication as DisplayObject, true);
PopUpManager.centerPopUp(AlertPopUp);
This link contains an example which works for me. Can you try the same? If its not working for you,post your elaborated code block to check how you have coded.
Also PopUpAnchor is worth checking if you need to position relatively to some specific component, let's say a button.

Resources