UIView is an iOS class which is used to display all user interface elements. All UI elements are either subclasses of UIView or are contained within a UIView.
0
votes
0answers
10 views
Landscape mode UI in storyboard
For my iPad application, I am using storyboard and want my UI to adjust both in portrait and landscape modes properly. My UI go for a toss in landscape mode. Is there any way we can fix this from ...
0
votes
0answers
8 views
Using CGAffineTransformMakeScale to rubber-band in a view causing problems with final layout
I have applied a CGAffineTransformMakeScale animation to a view, but the subviews of the view are aligning themselves incorrectly now, as a result. Removing the MakeScale animation makes it appear ...
0
votes
1answer
18 views
iOS Constraints do not update quickly enough during animation
I have a footer UIView at the bottom of my iOS Screen about 50 pixels high. During the loading phase of this view, I add a subview (lets say footer-subview), and programmatically add constraints to ...
0
votes
1answer
18 views
UIView animation being held up on main thread
I have some nested UIView animations like so:
[UIView animateWithDuration:1.0 animations:^{
//Animation
}completion:^(BOOL success){
[UIView animateWithDuration:1.0 animations:^{
...
0
votes
0answers
6 views
Custom UIVIew layoutSubviews causes an error when setting a transform (AutoLayout asks me to call super method even though I already am)
I've got a strange issue where I'm trying to override -layoutSubviews to create a different layout in landscape. My method works fine in portrait, but when I set a transform on one of my subviews in ...
0
votes
0answers
12 views
iPad: possible strategies to handle left handed/right handed touch input?
EDIT:
Setting the transform also affects the touch coordinates accordingly, which is good.
But while the position of the subviews is correct, they are all mirrored too across their own local middle ...
-2
votes
1answer
19 views
How set transform rotation and scale to one UIImageView? [on hold]
UIImageView *newImage = [[UIImageView alloc] initWithFrame:(CGRectMake(posX-60,posY-65,150,150))];
newImage.transform = CGAffineTransformRotate(newImage.transform, 23);
newImage.transform = ...
0
votes
2answers
29 views
Hindrances of having many UIView in a single UIViewController [on hold]
Is it okay for an app to contain many Custom UIViews using a single UIViewController? I'm afraid that my apps would go slow if i will push this idea using single UIViewController and hide and show ...
0
votes
1answer
69 views
iOS 7 like semi transparent blurred view [duplicate]
I'm trying to put a semi transparent image with blur effect behind my main view, similar to how Apple is doing in iOS 7. What is the best, most efficient way of going about this sort of effect?
1
vote
0answers
63 views
iOS 7 - Behavior of dynamic wallpapers for custom UIViews
I have been fiddling around with the new Xcode 5 GM and UIDynamics to create an effect like the new "Bubble" Wallpaper on the iPhone Dashboard.
I want basically the same thing. certain Images added ...
0
votes
1answer
21 views
rotate multiple UIViews around a center point with rotation gesture
I have 4 rectangular views which make up a square around the center of the screen, and I'm trying to figure out a way to spin the views around the center point of the screen when the user does a 2 ...
0
votes
1answer
10 views
Auto Layout with UITabBarController
I'm trying to shift to Auto Layout in my app, but I'm having some trouble with my UITabBarController. Basically, I have two buttons on my home screen, and I want them to have equal sizes, one 50 ...
0
votes
1answer
13 views
Rotating a UIView incrementally based on its x location on screen
I would like to rotate an UIImageView by 90 degrees over the span of the length of the iPhone's view using imageView.transform = CGAffineTransformMakeRotation(degrees * M_PI/180);, and was wondering ...
0
votes
0answers
25 views
UIView Center does not seem to change with orientation change
I am looking at at view that covers the entire iPhone screen. The app is also required to only work in Landscape. I see that in viewWillAppear the bounds and center of the view are in Portrait mode ...
0
votes
2answers
64 views
iOS7 Content Offset by 20 pixels for non existent Status Bars
I have a strange behaviour with my UIViews as I'm migrating to iOS7. It seems that they are sent a message to shrink by 20 pixels. I have removed the status bar from all my XIB files and explicitly ...