I'm trying to stretch an Image in a UIImageView - but I fail miserably :)
Following setup:
NIB-File with a view and a UIImageView attached to this view.
Wired to my class using IBOutlet UIImageView *background.
Now, in my class I try the following:
UIImage *bgImage = [[UIImage imageNamed:@"myImage.png"] stretchableImageWithLeftCapWi...
The AVFoundation framework provides the AVMutableVideoComposition class (the mutable variant of AVVideoComposition). It looks like you can render CoreAnimations directly to an instance of this class to create a video but I don't know how to save the composition to a file or how to work with it at all, really. The following code called fr...
As a developer I'd like to make a few little utilities for myself that use private methods, etc. as I have no intent to submit them to the app store. For instance, at the moment I want to work on an inter-device communication tool (including an iPhone MiFi type implementation).
So the question is, does access to that particular functio...
Can I put all connection related functions into it's own (singleton?) class or possibly the app delegate?
I've got a lot of code repetition right now...
eg. this method is in at least 5 files:
- (void)connection:(NSURLConnection*)connection didFailWithError:(NSError*)error;
Would I just import a class with these methods in it? Do I ...
I have an NSDictionary. It holds several objects, including an array of child NSDictionaries, each of which have an object keyed as @"Parent" that point back to the parent NSDictionary.
This circular reference breaks the ability to inspect the object with a classic call like:
NSLog(@"%@", [myDictionary description]);
Would anyone be ...
Hey there,
My problem involves creating a control somewhat analogous to the apple magnifying glass in text view control, where you touch for a second or so to pop up a magnifying glass and then drag your finger around to select your desired location.
I created all the methods that I need for detecting a long stationary touch. Now I nee...
I have started using the Three20 project for an iPhone/iPad application.
Did anyone face any issues during the submission process because of this? Also, how challenging it is to make the application iPad compatible - I am using Three20s navigation style, styled labels and photo controllers.
Thanks in advance for the help!
...
I have location services disabled for my application in the settings panel. I run a test in viewDidLoad in my view controller to see if they are enabled:
if([CLLocationManager locationServicesEnabled]) {
//Do something now
}
This test always passes for some reason. If I try and access location services I get a kCLErrorDenied erro...
Hi All, I followed the "Adding three20 to your project" steps to a tee and having some deployment issues. I can run the iphone app in the simulator without any issue. But when I try to run it on the device i get the following error "___restore_vfp_d8_d15_regs", referenced From:.....
I do believe that it has something to do with my Heade...
I have set the background colour of my UITableView to clear so that I can see the UIWindow. But I want to change the image presented (from background.png), depending on my selection. An example would be:
If (selection = 'blue') then image = bluesky.png
if (selection = 'green') then image = 'greengrass.png
thx,
wes
...
For some reason, using loadNibNamed: is leaving me with a memory leak.
Let's say I have the interfaces:
@interface Step : UIViewController
{
IBOutlet UIView *keyPadPopupView;
}
@property (nonatomic, assign) IBOutlet UIView *keyPadPopupView;
In Step:
@synthesize keyPadPopupView;
- (id)initWithNibName:(NSString *)nibNameOrNil bundl...
Right now, I'm playing with OpenGL ES on the iPhone using Oolong Engine. This might be a silly question, but how necessary is it to clean up after OpenGL when the app exits? My problem is that I have a static vector that manages loading models, and loosely ensures that models aren't loaded twice. Because of this, all the handles to the V...
Hi all
I see some ios app have this function:
When user try to open a special-format attachment of email,it will show a alert and displays two buttons.One button of them showing "Open as".When user clicks it,then an app will be run and open the attachment.
I would like to know how to complete it.If anyone knows it,please let me know. T...
is it possible to run some program in background for iphone even if your app is closed by user??
i just want to know any idea any trick to do that
Thanks
...
I am developing an iPhone app that requires an image to be in a cell in a tableview. In the CNN App if you quit the app and then stop it in multitasking it keeps the images for the next time the app is started up. How do I do this for my app?
...
I am have created a timer where I convert the remaining time to a string with a format of:"mm:ss" and when the string value of the time is 00:00 I would like to invalidate the timer. For some reason it doesn't work, even when I log the remaining time I see the the value has the correct format so I don't know why my "if" branch in "countT...
Is there any sample that I can use to learn how to transfer text between iPhone and a computer (mac/pc) using bonjour?
...
i want to export all the contact details of iphone and uplaod to server
is that posble from Xcode or i need a 3rd party software??
...
hey guys,
I'm looking for a tutorial on how to listen to the microphone input while it is recording. I've been searching for a while but nothing really relevant comes up. Is this supported by the SDK or is it a bit of a hack to set up?
I've found this but I'd like to find something a little more educational.
Any tips?
Thanks!
...
I have a core data application and I would like to get results from the db, based on certain parameters. For example if I want to grab only the events that occured in the last week, and the events that occured in the last month. Is it better to do a fetch for the whole entity and then work with that result array, to create arrays out of...