How can I parse UITextField value from one Nib file to another, By initWithNibName
Here is the Code for the First View
-(IBAction)testbuttonPressed:(id)sender
{
//test.text=@"hello H R U";
detailsViewController=[[FlipsideViewController alloc] initWithNibName:@"FlipsideView" bundle:nil];
detailsViewController.address1=txtNam...
hi,
i am new to Mapkit View .i want to display when i give lat,lang without destination.
is it possible to display maps through terrain,satelite view in mapkit?anny tutorial
link?i have seen some examples with accessing google map API(html file).is it neccessary?
...
When there are two objects going to collide, I check them with CGRectIntersectsRect.
However, before it returns me with YES (they collide), they are already overlapped.
Is there any other way to detect and resolve collision?
My workaround is to compare their Y axis and move the object far apart from each other, once they are detected co...
I have an app which is quiet huge. It has tons of images and sounds. In total it's 30 MB in size.
1) Is there an official limit for the app size?
2) Are there other "practical" limits I should consider?
...
I often read that using CALayer rather than UIImageView is an performance boost when it comes to heavy image usage. That makes sense, because UIImageView causes 3 copies of the image in memory, which is needed for Core Animation. But in my case I dont use Core Animation.
How could I assign an UIImage (or the image data of it) to an CALa...
Hi all,
I was looking at some animations in my iPhone app and felt like it was kind of ugly. And then I undertsood it: it just doesn't animate through subpixel states.
So, in case I use usual +beginAnimations/+commitAnimations, moving some stuff just a few pixels look "jumpy". How can I avoid it? Are there any flags to make it animate...
I have a grid of images/buttons, and I want the user to be able to drag their finger over the images/buttons such that when their finger touches each image/button an event is called.
How do I do this???
The best example I can think of now is the Contacts app, how you drag your finger down the list of letters (on the right) and as you t...
AFAIK, a thread can not access UI components. But I want to preload images in a background thread and then display these in an UIImageView. Do I have to use special methods to access UIImageView in the main thread then?
...
Example: In my main thread (the thread that's just there without doing anything special) I call a selector to be performed in a background thread. So there's a new thread, right? And now, inside this background thread I create a new object which holds image data. Next I use that object and want to keep it around for a while. How would I ...
<script language="javascript">
alert("Hell! UIWebView!");
</script>
I can see the alert message inside my UIWebView but can I handle this situation?
Update:
I'm loading a web-page into my UIWebView:
- (void)login {
NSString *requestText = [[NSString alloc] initWithFormat: @"%@?user=%@&password=%@", DEFAULT_URL, user.name, us...
Hey,
I need some private frameworks for my app, so I am planning on jailbreaking my iPhone but, I wonder what are the steps for programming after the jailbreaking process.
Are they the same for jailbroken and normal iPhones?
I know that my app will be rejected by the app store, but that is not my goal now.
This is a research thing.
T...
Hello everyone
I have a UIView (created in IB) with a grouped UITableView as a subview. Below this table view is a UIButton. The XIB containing the view will be loaded by a few different viewcontrollers, and so the contents of the table view can vary between one and four cells.
Here's what I want to achieve: when the view loads, the he...
I'm a little bit confused now after I've seen a code snippet for iPhone SDK which makes use of -> rather than dot notation. It looks a lot like PHP but it does work on the iPhone. Can someone explain what's up with ->, is that some deep C-secret I should know about?
Example:
- (void)setFileURLs: (NSArray*)elements {
if (self->fileU...
I want to disable the selection of certain rows in my UIPickerView. Like in the Coundown timer, where you try to choose 0, it doesnt let you and slips back up to 1. Or how you can limit the date in the Date Picker...
How do a disable rows in a UIPickerView?
...
I'm currently working with the mapkit and am stuck.
I have a custom annotation view I am using, and I want to use the image property to display the point on the map with my own icon. I have this working fine. But what I would also like to do is to override the default callout view (the bubble that shows up with the title/subtitle when t...
Hi,
I'm currently developing an collage application for iPhone and I've now at the point of saving the image and I therefore need the correct path so that the images shows in your image library.
Does anyone know the address to the path?
BR,
drisse
...
I've been reading an article about caching images in iPhone OS, and they pointed out this code snippet:
NSData *urlData = [NSData dataWithContentsOfURL:aURL];
When I do something like this, does the whole big image data get sucked into the memory? Or will the image data go into memory as soon as that urlData object is actually used? R...
I have a CALayer object whoose contents property is set to the CGImage property of an UIImage. So the layer contains that image bitmap. How could I make a CALayer like this visible on screen? I want to avoid UIView if possible, since that would undo all performance benefits from a "plain" CALayer. What options are there for this?
...
hello all,
How to change the background color of a view dynamically? Do I set a timer and assign the background color property of the view to change in a loop?
How to achieve this functionality?
...
Hi!
I'm coding a MobileSubstrate plugin (a code insertion platform on jailbroken devices) which will hook into safari and a few other apps.
This plugin will have to display an UIActionSheet. But in order to do that I need to find a view to display it in. so far I'm using showInView:[[UIApplication sharedApplication] keyWindow] but it'...