I'm reading through TableView_iPhone tutorial from Apple http://developer.apple.com/iphone/library/documentation/UserExperience/Conceptual/TableView_iPhone/TableViewCells/TableViewCells.html and I'm trying to use 'The Technique for Static Row Content' technique to populate TableView with cells from a nib file. In the tutorial the nib fil...
Setup:
Tab Bar App
First View is a ScrollView which has an ImageView as its subview, loaded from a file.
All of the above configured in IB.
Application properly launches and I can scroll around the image and all is right with the world.
I have it scaling in and out with pinch controls no problem as well.
Now however I am trying to ...
Hi everyone,
I am trying to find if there is any object in the mutable array that matches with the object I pass. Please see the function below.
The name comes from table view controller, so the row that is tapped is saved into name and passed to this function. I am trying to check whether the name in the table view controller equals t...
Since the display resolution is different, I wonder if there is an official guide or tutorial that shows how to load images. icons, nibs, etc. dynamically for iPhone 4 and iPhone 3GS.
Thanks in advance.
...
Hi all,
I am adjusting my old apps to iPhone 4 using the simulator at the moment and I can across a very strange behavior with UILabel drawing and sizeWithFont:constrainedToSize: that I currently see only on the iPhone 4 simulator.
I am trying to show the following error text to the user:
@"Incorrect user name or password"
This text si...
NSData +dataWithContentsOfURL has any kind of caching by default?
Has anyone experimented some kind of problems using this method, what is the most efficient way to get Data from the web?
...
Right now with my settings.bundle only bulids for the pro version. I want to know two things:
1: How do I get it to show up for both the pro and lite builds?
2: Is there a way to show different settings based on iPhone vs. iPad?
...
Hello all,
So I am trying to connect to my company's website through an HTTP authentication request. The problem is, in order to validate, it has to go through a series of redirects and gather 2 cookies along the way. Does anyone know if the ASI libraries found here have a way of handling this sort of thing?
For example, does the r...
Is it possible to create a CGPath from a given file?
SVG would be preferred, but anything will work.
...
Hi everyone.
I am trying to catch when a specific UIPicker animation is finished.
I have looked long for an answer to this but it seems that the common answer, which is to ensure the selectRow call is within the beginAnimations and commitAnimations calls, does not work.
The problem is that the animationFinished is triggered almost imme...
Hi there.
So, I have a UISegmentedControl with:
[control addTarget:self action:@selector(myAction) forControlEvents:UIControlEventValueChanged];
Just wondering how I would find out what segment has been selected (so I can do the appropriate action). I know its something like:
@selector(myAction:) but what gets sent? ie: when I define...
I have a UIViewController that has a UITableView sitting on a UIView that is hidden. I have created a data view object and implmented the data methods and hooked it up in the Interfaced builder as a datasource. I can get the table to show but not populate. I have tried creating a UITableViewControler and adding that the the UIViewContro...
Hello All,
I want to create an app in which i want to do some image processing. So I would like to know if there is any open-source image processing library available? also I would like to create a filter like this one Glamour Filter any help regarding this would be very much appreciated. If someone already have a source code to create s...
Hey all,
I have a pretty standard setup. I have a UIViewController to handle user interaction and a somewhat long running NSThread that does the actual work when the UI Controller shows up. One issue I've had is when I want to cancel the NSThread. Standard NSThread semantics is alright. I want the thread to finish, clean itself up (so t...
Hey guys, I'm trying to implement this in my iPhone app: http://code.google.com/p/core-plot/downloads/detail?name=alpharelease_0.1.zip&can=2&q=&sort=-uploaded . I figured I'd first try to run the sample they provide. I'm attempting to open and compile the project located in /Source/examples/CPTestApp-iPhone/ . It says my base...
Hi, I get the following message just before playing an audio file: "AddRunningClient starting device on non-zero client count"
This only happens once and never happens again. Anyone knows why this would happen. I only have 1 player.
Thanks.
...
So I'm trying to make an app with 3 tabs and one of the tabs has a navigation controller. I have succeeded in making the 3 tabs, and also turning one of them into a navigation controller. The part where I'm now stuck is trying to add additional views to the navigation controller tab.
Example: Click button 1 on view 1 and it goes to view ...
In the iPad project I'm working on I've got a UIWebView inside of the app which displays a .html file which links to a .css file, i.e.
<link rel="stylesheet" href="style.css" type="text/css">
These files are stored locally on the iPad but are fetched from a remote server. I've noticed that UIWebView caches the .css file more or less ...
Is it possible to record audio on the iPhone using the PhoneGap package? And if so, are there any examples of this?
...
I'm try to emulated something just like the "new message" page in Apple's mail app on the iphone. I've implemented it with a tableview and I've successfully gotten the "To", "CC", and "Subject" rows to behave correctly, but I'm not sure how to implement the actual message portion of the page.
There are several issues that I'm having. I'...