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.

learn more… | top users | synonyms

0
votes
0answers
11 views

Why add shadow to any layer is too heavy? Using QuartzCore

Why add shadow to any layer is too heavy? I tried to add a shadow to my UIView and it was VERY heavy on this screen only. Why is it so heavy? The only solution I find is to add a shadow image in PNG ...
-3
votes
2answers
27 views

Multiple UITableview in Single Viewcontroller

I have a view controller in that i want to show 3 tableviews(because the content and the table properties are different ) .How do i add these delegate methodes for 3 tables in one view controller?? ...
0
votes
1answer
33 views

Cant remove subview from a view?

I am trying to remove the indicator subview from a UIView , but it removes both of them and not only the subview . My views are : UIView * aView = [[UIView alloc] ...
1
vote
1answer
23 views

Computing UIVIews new width before rotation

I'd like to know the new width my UIViewControllers view will have after a rotation change, but I need this information already in the - ...
0
votes
0answers
16 views

How to get the gaussian blur effect on a UIView in iOS6

Does anyone know how to achieve a gaussian blur effect on an UIView in iOS6? Similar to twitter's #music app when the filter menu is open. (the background under the menu becomes blurred)
0
votes
3answers
37 views

UIBezierPath does not draw rounded bottom corners

I am trying to make rounded corners for my views and fencing a strange problem. I use the following code to make rounded corners for my view bezierPath = [UIBezierPath ...
0
votes
3answers
35 views

How to resize UIImage created with resizableImageWithCapInsets when used for an UIImageView / UIView

I'm writing code to use a custom image as the background for a UIView. The app runs in portrait only. Prior to the 4" retina screen, I used fixed size, hand-drawn png as the background image ...
2
votes
4answers
60 views

Creating Views programmatically VS. nib

I am curious to know if anyone has any experience comparing the load time performance of iPhone apps with views laid out in NIBs vs. views laid out entirely programmatically (here is a similar ...
-1
votes
4answers
29 views

iOS : Add Picker Ui element dynamically

I am new to iOs and trying to add the picker UI element dynamically to the UI. In the class - UIPickerView , i don't see any methods for adding the picker to the view. Has anyone tried doing this? ...
1
vote
2answers
55 views

Use autolayout to set dynamic UIView to match container view

I have a UIView in IB that has another UIView within it, which I am using as a container view. In code, I create three different views and then animate the appropriate one into the container's view ...
0
votes
1answer
26 views

Dynamic uiview layout with auto layout

I'm working with autolayout and its been going very well so far but right now I am at lost as to the way to proceed to achieve the design I want. I got a a small questionnaire with 2 sections. Each ...
0
votes
1answer
53 views

viewDidLoad for UIView?

What is the viewDidLoad for UIView? I have a UIView with xib. I would like to hide one of it's subviews when it is loaded. I tried to use this. - (id)initWithCoder:(NSCoder *)aDecoder{ .... ...
0
votes
1answer
22 views

Evenly Space UIViews of equal sizes in superview using Auto Layout in iOS 6

I am in a need of having the series of buttons to be evenly placed in superview Horizontally using Auto Layout. Here, I want to keep the sizes of the subviews same, only the center of the subviews ...
0
votes
2answers
22 views

Implementing a grid of buttons on iOS

What would be the best way to implement a button layout similar to the following pictures? I was reading up on creating a custom UIView or UIControl, but then I started to think that maybe a custom ...
0
votes
0answers
4 views

How to tell the size of a view (if it's the view controllers view)?

Suppose I have a method: (void) addALargeWebViewToView:(UIView *) aView that adds a webview 5 units smaller than the "aView" to the "aView". The problem is that when aView is the view of a view ...

1 2 3 4 5 472
15 30 50 per page