Hi,
I have a UIScrollView in my view control but my UIScrollView can't catch the touchBegan. touchBegan only execute when touching outside of the UIScrollView. How can catch the touchBegan when touching UIScrollView?
Thanks.
...
I am programmatically adding a UIImageView and a UILabel to multiple screens in a program I'm working on. As such, I've written a UIViewController that contains the code to load up the UIImageView and UILabel in viewDidLoad, along with a timer to update the contents. I use this view controller as a superclass for any views that need th...
i have been add
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
but it not call
...
Hi
Im using a Core Data model for my iPhone app. I have been looking for a way to instantiate or use an Entity outside the ManagedObjectContext. (This should not be done, I know, Im also more looking for a way to not do that, but get the benefits anyway).
My challenge is that I have a view where the user can search for "Persons", all t...
i have a tableview which displays the result from the web service
the result fron the web sevice is in form of string array, where each string in the array is pretty long. It is like "1|123|JP Morgan|111|2000.0|Pending", similarly there are strings which i diplay in each row of the table.
but as you can see the string is very long, to di...
I am calling an infoPage.html as below with an image from Resources and referenced as img src="eye.png" in the html, the text displays correctly but I cannot load the image (only a ? appears), any suggestions...
- (void)viewDidLoad {
[super viewDidLoad];
CGRect webRect = CGRectMake(15,40,300,450);
UIWebView *myWebView = [[UIWebView ...
Hi,
I am a bit confused in the following two ways of initialisations.....
Way 1:
- (void) myMethod{
NSArray *myArray = [[NSArray alloc] initWithObjects:obj1,obj1,nil];
[self setClassArray:myArray];
[myArray release];
}
Way 2:
- (void) myMethod{
NSArray *myArray = [NSArray arrayWithObjects:obj1,obj2,nil];
[self setClas...
I'm being rejected on the App Store for using private instance variables in my app. The ivars I am supposedly using are most definitely not being accessed in my code, but I am using one or two static libs from third parties. How would I test whether these could actually be the offenders?
Update:
Apple is accusing me (and 3rd party libs...
Hi,
I have a query regarding sending secure data over the network in iPhone.
What should be used to secure credit-card, bank acct# etc. information which is sent over wireless network.
Is there any difference in methods if we use a native-app or a web-app?
Are there any direct APIs available for this?
Any tutorial will be really he...
I have created a class (TestAccel) that implements UIAccelerometerDelegate. I have a private var in this class for UIAccelerometer.
UIAccelerometer *accel;
The class init looks like this:
- (id) init:(id)actOnThisInstance{
[self init];
accel = [UIAccelerometer sharedAccelerometer];
accel.delegate = actOnThisInstance;
return self;
}
...
I'm using Core Data for a table view, and I'd like to use the first letter of each of my results as the section header (so I can get the section index on the side). Is there a way to do this with the key path? Something like below, where I use name.firstLetter as the sectionNameKeyPath (unfortunately that doesn't work).
Do I have to gra...
hi everyone.
I am developing a game called moving together for iphone. The game is, there is a line centre, and 2 men standing back to back each other. Now I use 2 fingers to move them, go far from each other. But remember, there is a rope tied both of them. Now They have to move at the same time and at the same speed. If one of them mo...
In my application i have using UIWebview.I have clear back ground color of uiWebview.But whrn data is loaded his background will be brown color.but i want to clear back ground.how it is possible?any budy have idea about my question then please advice me.
...
i am developing game application for iphone.In my application there is one object(fly).In my application this object move straight forwared using animation but i want to move object realistic.so path should be curve.please advice me about my question.
Edit:how can I create path with arc like flying an object from one place to another us...
Hi
I have some users testing my app on Windows and Mac platforms. The app crashes at some points but the Windows users cannot get any crash logs. Here's what they do
Run the app and play around till it crashes
Sync their device with iTunes
Look for logs here (on a Vista) C:\Users\\AppData\Roaming\Apple computer\Logs\CrashReporter\Mobi...
I have three Classes for which I am extending NSManagedObject (I know this isn't required but I wanted the property notation). Theses Classes are QuestionSet, Question and Answer. My data model is setup so that there's a many to many between them like so: QuestionSet <<->> Question <<->> Answer. I load up everything from a server and it ...
Hi.
Is it possible to use linux system for iphone development?
If it is then how ?
Any Software / help available ?
Thanks in advance...
...
Hello!
Im a budding iphone developer, and doing my best but i have a query regarding the UINavigationController.
I have a tab bar app, with 3 tabs.
The 1st tab has five UIButtons, each loading a different "section" of the app, and each section will have a number of views.
The other tabs simply display some info.
as users select any o...
Hi All,
I created a webservice in RDB with .Net.I able to transfer data from iphone to mysql and it returns the data.
But i need to transfer data from RDB to iphone whenever i need
(i am strucked by the ip address of iphone which one is dynamic to connect the device from a RDB)
Please tell me how i will do it otherwise tell is any othe...
I'm trying to unit-test code for loading and querying data from plist file. I'm loading data with code:
NSString *path = [[NSBundle mainBundle] pathForResource:@"availableshops" ofType:@"plist"];
NSArray *arrayOfShops = [[NSArray alloc] initWithContentsOfFile:path];
When testing app in simulator and on the device everything work. BUT ...