0
votes
1answer
28 views

UIView Rotation Magically Happening

I was given a project that was started by someone else who no longer works here. I have a UITabBarController which holds some UIViewControllers. If the application is running on iOS 6, everything runs ...
0
votes
0answers
31 views

Dealing with origins and sizes for different elements 4in display and 3.5in

I am trying to confirm what would be the best/most efficient way to display buttons on the 4inch (iphone5) and 3.5(other iphones). This is my current code: CGRect screen = [[UIScreen mainScreen] ...
0
votes
0answers
23 views

iOS: Croping and Resizing UIView

I have a stream getting played on UIView. I want to crop that view and and make it fullscreen propotionally so that view contents are not disturbed. View contents are in 4:3 proportion, following is ...
0
votes
1answer
40 views

Creating a pattern background for View

I have a view which has a patterned background. Previously I sliced the image to size so they are really large. I think there is a better way to approach with a background color and a pattern image ...
0
votes
3answers
61 views

Adding a UIImageView and handling the size/fit

I create a view as follows: // Create sub view for Logo logoView =[[UIView alloc] initWithFrame:CGRectMake(0,0,screen.size.width,(screen.size.height - 230))]; [logoView setBackgroundColor:[UIColor ...
0
votes
1answer
52 views

Using Reachability throughout an application

I would like to simply use Reachability through an application to check internet connection availability. When the internet connection is lost I would like to display a custom view (overlay) which is ...
2
votes
1answer
80 views

Mask UIView Touch Detect

I have a big Frame through which i masked a smaller view now i want to detect just smaller one but touches began did not allow me to filter masked view any pointers ?
0
votes
2answers
52 views

How to make chain transitions?

I have 40 UIView tile objects on the screen. Then in the view controller I have routine to flip those tiles using transitionFromView message. If I flip them at once in the loop, on the simulator it ...
0
votes
0answers
44 views

bug annimation on ios 5/5.1

I don't have the same result for this simple animation, it works fine on ios 6/6.0.1 but not on ios 5/5.1 it doesn't have a same comportment. [UIView animateWithDuration:0.4 delay:0 ...
0
votes
2answers
59 views

Setting up a UITableView inside View Controller Programatically

I have setup a UITableView controller within my view controller as follows: fieldView = [[UITableView alloc] initWithFrame:CGRectMake(0, logoView.bounds.size.height, 320, (screen.size.height - ...
0
votes
2answers
59 views

Difference between where fields/variables are declared

Simple question, as I am new to IOS. What is the difference as to where you declare variables/fields etc. Option 1 (header file) @interface ViewController : UIViewController { UIView *testView; } ...
1
vote
0answers
53 views

Disabled keyboard state in iOS 6?

I have implemented a "token" or "chip" text field similar to the stock messaging apps where a user enters entries which become colored tokens. When a user presses backspace, it highlights the token, ...
1
vote
2answers
50 views

Handling view resizing programatically heights, widths and margins

I am trying to setup a view programatically. Through preference I prefer to programme the views as opposed to using Interface Builder, I feel I have a better control for some reason... I am setting ...
0
votes
1answer
20 views

Creating logic to handle view/button sizes

I would like to create some logic to handle the view sizes for a subview and some buttons, based on the mainscreen size. So I would like to do something like this: //Discover the main screen size ...
-3
votes
2answers
43 views

Creating a view with multiple objects/layers [closed]

I am looking for a tutorial on how to create a complex view in code. For example, a background image to the view, multiple sub views with buttons. Is there any tutorials on how to complete this?

1 2 3 4 5 10
15 30 50 per page