Clicking on an element which has a Javascript handler makes the element go have a 'grey overlay'. This is normally fine but I'm using event delegation to handle the touchdown events of many child elements. Because of the delegation the 'grey overlay' is appearing over the parent element and looks bad and confusing.
I could attach event ...
I have a UITableViewController that contains a tableView. I want to set its scrollView delegate to self, but I am not sure how to do that? if i call
[self.tableView.delegate = self]
It will set the UITableViewDelegate to self, and not the UIScrollViewDelegate
...
Hi,
Just became an iPhone developer. I'm completely new to this, and not really sure whether I should start learning SDK version 3.2 or 4.0. I found tons of videos and tutorials for 3.2, not a lot for 4.0.
So shall I start with 3.2 and then worry about 4.0 later? or am I going to have to re-learn many things that I will learn in 3.2?
...
Hi:
I'm having a problem using the UITabBarController and can't seem to get anywhere... maybe someone has run into something similar. I have the typical Tab Bar + Navigation app and everything is working great, except when I access options in the More tab.
On any other tab, if I log:
NSLog(@"%@ \n %@",self.selectedViewController,[self...
I am new at Core Data, and it seems like it is a great way to manage the data store. However I am also very memory-conscious due to the fact that the iPhone doesn't have that much of it. I was a little surprised to see that the data types are so limited - eg. there is a Date type which includes also the time, but no Date type for just th...
Hi,
I have a problem.
I try to initialize a variabile in a classViewController created inside a xib file.
I try with the code below but when i append a object to array, these array isn't initialized.
Can you help me?
thanks and sorry for my english.
#import <UIKit/UIKit.h>
@interface AccelerometroViewController : UIViewController <UIAc...
My app has a UITabBarController that loads many different UINavigationControllers. I want a UIPageControl to switch between the different UINavigationControllers. Do I place the UIPageControl in my UINavigationController or in my appDelegate? Suggestions and best practices are welcome.
...
on my tableview i have the last cell that is not initially visible as seen in the first image, when i scroll the list up, you can see in the second image that the price or my detailTextLabel is put on a new line not maintaining the right justification.
Here is the code, i can't figure out why its doing this, any direction or help w...
Is it possible to have a single iPhone screen with its view loaded from a xib by that screen's UIViewController, but then another UIView within that screen with content loaded from a separate xib file? If so, is it possible to have that nested view's events handled by a separate custom UIViewController subclass from the rest of the scre...
Hello Folks,
I know similar questions have been asked time and time again but I ask that you please bear with me as I cannot seem to find an answer that helps.
My application has leaks that are driving me out of my mind. Actually, they are not reported as leaks using Leaks, but my net bytes in ObjectAlloc goes up and up and up and neve...
Is there any method that will restart the iPhone on call? It can be an undocumented method (and probably will end up being since I can not find a method like it in the iPhone SDK reference).
...
I want to animate the scaling down of a UIView, but not about its center: about a different point.
As a shot in the dark, I tried translating the view, scaling, then translating back, using a series of CGAffineTransforms. But it doesn't work: it still scales about the center.
Anyone know how to do this?
Thanks very much.
...
Although iPhone support JSON natively, AMF is a binary protocol and it supposes to use much less bandwidth. Do you think using AMF is a good idea?
Just found this AMF library in cocoa (Objective-C): http://github.com/nesium/cocoa-amf/
Here's the famous benchmark that shows AMF is smaller and faster than JSON + gzip in Flex: http://www...
When to use UIWebView other than supporting Rich Text?
...
Hello -
My iPad app was rejected due to my use of a picker. The picker was used to control a table view. In my view, a picker was displaying a series of items and when one of those items was selected, it used that selection to populate a table with data. (hopefully that makes sense). Now I need to do this without the picker so I need t...
Hi Guys ,
I am pretty new in Iphone Apps.
How do I upload Image/Photo from my Iphone to webserver. At web server I am using ASP.net c#.
On Iphone i have image displayed on UIImage Control and that image I am getting from database from BLOB datatype column.
how do I save that image bytes to application folder and then send image file t...
I have an app that uploads to Google Spreadsheets via the GData ObjC client for Mac/iPhone. It works fine as is. I'm trying to get the upload portion on its own thread and I'm attempting to call the upload method on a new thread.
Look:
-(void)establishNewThreadToUpload {
[NSThread detachNewThreadSelector:@selector(uploadToGoogle)...
Hi all,
i am working on live XML arsing, i am able to parse xml and pass into array,but i am not able to set those values into table view,
so if any 1 can provide me some guideline or some tutorials to set array data into table view,with xml parsing,it will be a great heklp for me.
regard
shishir
...
Does anyone know how to create simple iPhone app using bing maps?
...
Hello,
What is the standard size of UIAlertView for ipad application?
it's same as iPhone?
if anybody has some idea please let me know.
...