Hi guys,
I'm getting an html file as NSData and need to parse it to extract some info. My approach was to convert it to NSString with UTF8 encoding (the html has non english characters, russian for example) - it failed. I used something like that:
NSString *respData = [NSString stringWithUTF8String:[theData bytes]];
but it returned n...
Scenario:
1. Show navigation controller based view
2. User select option
3. Show modal view A
4. User select another option in modal view A
5. Hide modal view A
6. Show modal view B
// This function must show modal view A
This scenario implemented like this:
- (IBAction)showModalViewA:(id)sender {
ModalViewA *viewA = [[ModalVi...
Hi,Friends
plz help me out
I am a newbie in iphone development its my second sample code. I am trying to add sub-views to a View and generate events according to the view/subview which is touched.i have added subviews in main view and all are showing all at one time. The projects I am experimenting with is a newly created, clean Window-B...
Is there a tool for monkey testing for iPhone? Like in the simulator.
...
I have a Custom view. This custom view has two UIImageViews - imageview1 and imageview2.
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:2.00];
[UIView setAnimationDelegate:self];
[UIView setAnimationDidStopSelector:@selector(transitionDidStop:finished:context:)];
[UIView setAnimationTransition:UIV...
Hi there,
I've got a script written which does some steps to package my build for an Ad Hoc distribution. My first guess was to use a run script phase in my Ad Hoc target. But it looks like codesigning is fixed at the last position in the chain of building iPhone apps.
Somebody has a clue how can I run my script at the very last possib...
I can install an app on my development iPhone compiled with "Debug" configuration using my Ad Hoc provisioning and everything works OK.
But when I build it using "Release" configuration, iTunes says:
The application XXX was not installed on the iPhone "YYYY" because its resources have been modified.
I've never seen this message before. ...
Hello
If the user received a call during application running, how to automatically open the application after call ended. And how to restore the last session, so that the user would not start from the beginning?
Thanks
...
I had a fully working build environment before upgrading to iPhone OS 3.1 and Xcode 3.2. Now when I try to do a build, i get the following:
Code Sign error: Provisioning profile 'FooApp test' specifies the Application Identifier 'no.fooapp.iphoneapp' which doesn't match the current setting 'TGECMYZ3VK.no.fooapp.iphoneapp'
The problem i...
Hi,
I have lost my private key for iPhone Distribution Certificate during OS upgrade.
Now I want to upload new iPhone App to App Store and that requires me to sign App with iPhone Distribution Profile/Certificate. Is there any way to create new iPhone Distribution Certificate. I did not find any "New.." option there on developer portal.
...
I have TabBarView Controller, where i keep four tab bar items, let sat item1, item2, item3 and item 4.
When clicking on item2 tab bar item, i call a RootViewController where it has a Navigation controller with a TableView and shows the row items.
Upto here it is fine.
When clicking on a row item, will have to launch a UIWebView to show t...
Is that possible to have a CALayer over another one composed using a blending mode on screen?
I now that it is possible to do that offscreen using drawinrect, but is it possible to see it live on the screen?
thanks for any help.
...
hi, i am new to iphone SDK.i am getting image like
UIImage *image = [[UIImage alloc] initWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:@"http://www.google.com/1.jpg"]]];
but how can i reduce height and width without using UIImageview?
...
What are the techniques to register users through the iPhone application? I'd like them to register on my site like many other do, but how to do it from within the application and is it acceptable to do it as the first thing and the user opens the application like desktop application do (EULA and so on)?
...
Hey folks,
I'm building an app that has a requirement for really accurate positional audio, down to the level of modelling inter-aural time difference (ITD), the slight delay difference between stereo channels that varies with a sound's position relative to a listener. Unfortunately, the iPhone's implementation of OpenAL doesn't have th...
how can i parse url in the following xml code without closing TAG of enclosure.....
....enclosure url="http://www.ddd.com/g.png" .....( i cant type greater than and less than symbol)...
i coded like
[item setObject:imgData forKey:@"url"];
imgData is NSMutableString.item is NSMutableDictionary .but i cant get http://www.ddd.com/g.p...
Hi,
I have a UILabel Outlet, and everytime I access its text property with multiple characters, then it will crash and gives me EXC_BAD_ACCESS. Its very weird and I can't find any solution for this issue.
Thanks.
sasayins
...
Hi, im newbie developing with objc.
Im working on a piece of code that installs a plugin to my application. It downloads a .zip package, uncompress it and copy some data to my sqlite database.
I have a UIAlertView that shows a UIProgressView while the app is downloading and uncompressing, when it finish I add to the UIAlertView a butto...
The documentation says:
UIInterfaceOrientationLandscapeLeft
The device is in landscape mode, with the device held upright and the home button on the right side.
UIInterfaceOrientationLandscapeRight
The device is in landscape mode, with the device held upright and the home button on the left side.
However, I'm getting...
I'm using http://github.com/bengottlieb/Twitter-OAuth-iPhone/tree/master for Twitter+Oauth in my iPhone app. I'm trying to create a facebook connect like feature where can log in and log out of twitter. This paticular Twitter+Oauth implementation doesn't use sessions, so I'm not sure how this works.
Does anyone have experience with thi...