I want to overlay an image over a button. the button has a background image. If i want to overlay a semi transparent image over the button, suppose i overlay a red color image, which is semi transparent. Can any one suggest how to do that? Suggest some documentation.
...
i have to play movies one after another(queue), i try with MPMoviePlayerController by setting content url but flick is there.
Is it possible with AVPlayer..?
if possible any sample or tutorial
Thanks in Advance...
...
I have to specialize a search in my iPad app, and I think to use the scope bar with the search bar. But how can I get the index of a selected scope button and base my search on it?
thanks
...
I am working on an image heavy iPad app. We implemented our own table view-esque control which reuses UIImageViews as a user scrolls the screen. To reduce network calls and make it perform better, I implemented a file backed UIImageView that writes the loaded images to the NSTemporaryDirectory and checks that before making a call to get ...
How can the ability to select cells in a Cocoa Touch TableView be completely disabled?
I have managed to get my code to a state where selection seems not possible, but if you hold your finger on a cell for a moment or two it will turn blue (selected) until you move off it.
How can it be completely disabled?
...
I have a UISlider subclass that is supposed to implement a custom look. I'm doing this with stretchable images:
UIImage* sliderBar = [UIImage imageNamed: @"SliderLeft.png"];
UIImage* sliderLeft = [sliderBar stretchableImageWithLeftCapWidth: 7 topCapHeight: 0];
sliderBar = [UIImage imageNamed: @"SliderRight.png"];
UIImage* slide...
What are custom controls, and how do you actually create them using the iPhone SDK?
...
I am attempting to place scroll view within a UIView that is smaller than the entire iPad screen. I simply add the scroll view as a subview of the UIView and it appears just fine, however when I scroll it, it moves outside of the bounds of that UIView effectively covering up any UI elements that are placed above it.
Is there some way to...
The iPhone has the UITableView for displaying lists and information, what is the best way to display the same type of lists using Cocoa for an OSX application? I'm trying to convert one of my iPhone apps to the desktop using Cocoa, but having a hard time finding the same type of list view.
Thanks for any help in advance!
...
I'm trying to have my view hierarchy loaded through calls to loadNibNamed.
For a single nib, in my ApplicationViewController : UIViewController :
- (void) loadView {
[super loadView];
[[NSBundle mainBundle] loadNibNamed:@"ApplicationViewController"
owner:self options:nil];
}
But then in Su...
I have a notification view which I'm adding to the application's window after launch, so it hovers above all other views.
When the user rotates the device, the view does not autoresize like those owned by a UIViewController.
Is there a way to manually ask for the view's autoresizingMask to be applied? Or, alternatively, how can I have...
I have some text that needs to be displayed in my app. The text contains links that need to be interactive. I have tried a few solutions for making tappable links in UITextViews and UILabels.
UITextView links
UITextView provides data detectors that pick up on URLs and make them tappable.
Unusable to me because the link will only open...
Hi,
I used the solution here http://stackoverflow.com/questions/2863626/using-cgcontext-to-display-a-sprite-sheet-iphone to create an animated spritesheet class (A child of UIImageView) that takes in a huge (200+) frame spritesheet and animates it using a firing NSTimer.
I was wondering if anyone had any ideas how to control the result...
hi, i've a huge problem..
I want to use both cocos2d and UIkit frameworks in one application, here is the scenario:
user log in, via UIkit, then play a game written in cocos2d, and after that the actual uikit ordinary application starts. the problem is that, after starting cocos game, i'm unable to return to uikit view-based application....
I have a very simple screen with an UITextField with the default configuration, nothing special.
When I touch the UITextField, the keyboard doesn't pops up.
I haven't any custom control, behavior or anything else, just that, but it doesnt'work.
I've done this in previous apps iPhone/iPad apps already on the AppStore but i can't figure o...
I'm developing a iPhone application and until now not big problems. But today I had a weird problem. When I run my application in the simulator, everything works fine. But when I run my application on my iPhone 3GS I get a SIGABRT signal in the XCode and the following message on the console of my device:
Sat Aug 28 12:00:56 Peters-iPhon...
I am having trouble using a UIScrollView on the IPhone when dealing with rotation. I used Apple's PageControl example as a model, but am creating the scrollview myself in a View.
1) The scrollview works as expected when loading in default Portrait, scrolling left to right horizontally
2) Out of the box, when rotating CW and reinitializ...
This seems to work, but then the program crashes right after the button get highlighted.
-(IBAction) buttonPressed: (id) sender
{
[sender setHighlighted:YES];
}
How should this be diffeent? What would it look like if I wanted to highlight the button if it was not previously highlighted, and return the button to its normal stat...
I have a series of UIView subclasses that are added as subviews. Each subview can be dragged and dropped. When they are dropped (touchesEnded), I need to run a method in the viewController to do some work. I currently have the touchEvents handled in each subview class. Should I be handling these touch events in the viewController or shou...
How can I get a UISegmentedControl (I think it is one) like in the AppStore app after you chose a category in the categories tab.
I do NOT mean a UISegmentedControl on a navigation bar but underneath a navigation bar (see screenshot).
http://i.imgur.com/jnY7a.png
update:
I just found this question: http://stackoverflow.com/questions/2...