I have a little UIView object, CircleColorView.m, that simply creates a view with a colored circle in it. I then use that view as the background to a bunch of buttons (all different colors).
My problem happens when the drawRect: method gets called. I crash, but only sometimes, when I reference the object color which is a UIColor.
I am...
I want to integrate facebook framework in my iphone app.
When going thru the documention, they asked to use private key and secret.
How can I generate one to be used in my app?
Also in the sample app, on click of "Connect to facebook", i'm seeing full screen with a facebook view which is bigger in size. but in few apps from app store, i...
Hi,
I am creating a simple app for iphone...I am just learning iphone programming..
I have just added image view and added a image to it...
When i run and build it...i am not able to see the image..
Am i missing something?
...
I've got a series of UITableViews (Child A, B, C) which all have a common parent Tableview.
Navigating between children tableviews will be sequential (e.g. following a recipe).
At the moment, navigation looks like this:
Starting in Parent TableView (Rows Child A, B, C):
Select Child A -> Push Child A -> View Child A -> click Retur...
The app I'm writing needs to get information from a remote database and then store it in the SQlite database on the iphone for offline use. As of now I'm using a php script to querry the database and then just basically scrapping the html data from the php echo calls.
My problem is that now that I'm moving away from test data I'm using...
Hey guys,
I'm converting a OS3 application to the new iOS4 release. What I did was download the new XCode and the new SDK, and just opened the application. I clicked on the "Build & Run" and I'm getting an error that looks like this for every the Foundation, CoreGraphics and CoreLocation frameworks-
warning: in /Developer/Platforms/iPh...
Hi,
I have images of size 100x50 each. I have to display them in an image view of smaller size. Hence I specify the image view frame width as 74 and height as 37 and I specify the content mode as UIViewContentModeScaleAspectFit.
The images appear fine in simulator and also on iPhone 3G. But they appear slightly cropped at the bottom on ...
I have a migration where I'm moving fields from one entity into another entity which is a child of an abstract entity. My model has an entity, Thing, which is 1->M to an abstract entity, AbstractWidget, which is the parent for NewStuff. Something like this:
+-------+ +----------------+ +----------+
| Thing |<--->>| AbstractWidge...
I have a view controller managed in a UINavigationController. My view controller puts up a "loading" screen, and uses ASIHTTP to asynchronously load table data. Then it renders its table, and in each cell there's an image that it uses ASIHTTP to asynchronously load. When it lands each image, it uses [self.tableView reloadRowsAtIndexPaths...
In advance, please excuse my lack of understanding for iPhone/Objective-C Best Practices; I come from a .NET/C# background.
Although, I've read many posts regarding exception handling for the iPhone, I'm still not exactly clear on what most people do for production code. Also, I haven't been able to find any open source apps with error ...
If you create a new project and choose "Navigation Based Application", a RootViewController (which is actually a UITableViewController) class is created. In this VC, the method viewDidAppear is called BEFORE the method cellForRowAtIndexPath.
If you create a simple UITableViewController and add it to the project, the viewDidAppear is al...
Dear all,
I am doing some video related app. I am implementing the following.
1.- An existing Video is chosen from the camera roll using
picker=[[UIImagePickerController alloc]init];
2.- Then the video can be trimmed using the edition tool of the SDK.
picker.allowsEditing = YES;
3.- Video is processed with a proprietary algorit...
I want to have a webview that has a single HTML and a single CSS file, shows graphics at the same size, but native resolution for each.
My existing webviews, designed for 320x480 seems to scaled up well (crisp text and border-radius for instance), though images are at half res in the iPhone4 simulator. How do I simulate the native imag...
anyone know if its possible to set cflags/linker flags different for simulator vs device on the same build target in xcode.
...
I have a UITableView that was created from data coming from a mutable array.
This is an array of dictionaries. So, in order to populate my table, I did something like
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
...
NSDictionary *umObject = (NSDictionary*)[listaDeObjectos ob...
I was told that using the -> in that way will keep my UI ticking so it doesnt lock! and save doing NSThread / NSOperationQueue
Can someone help me with the syntax of how i would use that? Im basically downloading a image into a UIImage*.
Thanks
...
Hi,
I have just view the iPhone application Touch Cam (http://itunes.apple.com/us/app/touch-cam-video-recording/id337848815?mt=8) which provides the capturing video automatically.
There is no api provided for this in iPHone OS 3.x.
Is there any hidden API (Undocumented ) is available for this. or how can we start the capturing of vide...
Hello,
Currently I have a image set to the background of main view using the code below:
self.backgroundColor= [[UIColor alloc] initWithPatternImage:[[UIImage alloc] initWithContentsOfFile: SomeCoolFilePath]];
Problem is, the image is not resized correctly and I want it the mode of it to be AspectFill.
How would I achieve this?
Th...
Hii....i am new to iPhone programming..Can anybody help me out please
i have an html which is generated by eXe tool.I need to show it on an UIImageView,created programmatically. so the html has to be transparent then the image looks like backround.
is it possible to make that html as transparent..?
Thank u
...
My iPhone application crashes when and I do not know how to resolve it.
I have a secondary thread that does some cleanup (deletes objects). This cleanup is done on a second NSManagedObjectContext as apple recommend when doing stuff in another thread. When the cleanup is finished I merge the two contexts.
My problem is that my applic...