iphone

How to create XML editor for iPhone?

I want to create a XML editor (form view type) for iphone. Can anyone suggest me how to proceed in this regard. I know how to parse an XML document but I am having trouble in editing the contents of the file dynamically. This editor should be such that, a new node can be added or a node can be deleted, it can also edit the values. Pleas...

Sencha Touch do not set scale and allow scrolling and resize on iPhone or iPad

I am playing around with Sencha Touch, especially with examples like http://dev.sencha.com/deploy/touch/examples/ However I am faced with a problem, when using the component the scale is set on the iPhone and the user cannot scroll the page or zoom in or out. How may I disable these settings as I would like to have the carousel on a pa...

Problem with UIScrollView and CATiledLayer

Hello ! I'm working on the example code named PhotoScroller (an Apple's example of WWDC 2010). There is an UIScrollView which return a custom UIView when zooming - (UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView {     return imageView; } The layer of this imageView is a CATiledLayer. My problem is for each zoom t...

view based and navigation based system

what is difference between view based and navigation based system in iphone . which one better to use and when? ...

iPhone / iOS popViewControllerAnimated Does not refresh screen

Greetings, I have a strange issue when calling .navigationController popViewControllerAnimated:YES from an NSOperation where the screen does not properly update and leaves the popped view visible but apparently deallocated. Details: I have a list view that accesses a local sqlite database. When tapping on a record, it displays that r...

detect skin tone from an image

I am trying to develop an application which will detect the color of the face once an image is provided. I was able to find out the face detection algorithm from openCV and integrate it. However i could not find any example or interface by which i can detect the color of the face. I have the logic which i am presenting. Please let me kno...

codesign failed with exit code 1

Hello, I'm trying to submit my first app to the app store. When I compile (configuration set as 'Distribution') I get the error below: CodeSign build/Distribution-iphoneos/xxxxx.app cd /Users/xxxxxxx/Documents/xxxxxx setenv IGNORE_CODESIGN_ALLOCATE_RADAR_7181968 /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/code...

Contrast using Open GL ES

Hello All, I am trying to do contrast on image using Open GL ES. following is code for contrast in the source code [sample from apple] regarding same. but seems like I am not getting desired output. -(void) DoContrast:(float) aContrast { GLfloat h = aContrast*0.5f; [EAGLContext setCurrentContext:context]; glBindFramebuff...

UIWebView - adjust on rotate?

Hello, I have a UIWebView which loads a url. In MobileSafari this webpage will adjust when the handset is rotated to the landscape position. In my UiWebView it just stays in portrait - is the a property I need to add to allow this to occur? Cheers! ...

MGTwitterEngine - isUser:receivingUpdatesFor: always return HTTP error 400?

I have some problem to implement the method isUser:receivingUpdatesFor: from the MGTwitterEngine in order to check if a user is following another user on Twitter. Here is my code : //Here is how I call the method (isRequestIdentifier is an NSString declare in the .h) isRequestIdentifier = [[twitterEngine isUser:user1 receivingUpdatesFor...

How to present a "gallery" on the ipad?

Hi guys, I'm building an app for the ipad that uses the youtube api to get the video thumbnails and present them in a gallery (like the native youtube app on the ipad). Basically it's just a bunch of UIImageViews on a UIScrollView. Now the problem is that displaying all the images at once may cause the app to crash due to memory problem...

Make Keyboard disappear by force on ios 4.0

When TextVIew was activated I used to make keyboard invisible on ios 3.1.3 version by using the source i wrote.(please refer to above or below my email.) but I can not make keyboard invisible any more with the source on ios 4.0. Could you tell me how to make key board disappear on the ios 4.0 version ? [[NSNotificationCenter defaultCe...

Video iphone question - 720p on iphone 3g/3gs?

Hi there. This may be a ridiculous question - but I know nothing about videos, video files or playback. If I have videos in 720p format (high definition) will they play normally on an iphone 3g/3gs which doesn't support high def? Or will I have to have 2 different videos and test the device? Thanks Tom ...

Navigating thru views with back / forward buttons (like a browser < > )

Hi, I have 3 tableviews (each has ca. 100 rows). The last view is a simple UIView (detailview). My idea was to create a navigation like a browser. Structure: Table1 > Table2 > Table3 > Detail Navigation sequence: (sry can't publish images :-| ) Table 1 ACTION +--------------------+ | | +-------...

CGLayer Performance Issues, what do i wrong?

Hey people, i got a real performance issue on my app after adding a new class. this class extends UIButton. In the initWithFrame: method im setting some parameters like: [self.layer setBorderColor:[[UIColor lightGrayColor] CGColor]]; [self.layer setCornerRadius:5.0]; [self.layer setBorderWidth:1.0]; After that i add some gradient ...

Keeping wifi/3g alive for locked iphone

I'm having trouble keeping wifi from disconnecting after 30 mins in an iphone app that needs to function when locked by the user. The app normally does not sleep, but if the user so chooses they may lock the display. I'm adding a new feature to the app that sends data out over the network at 1 second intervals. prior to this there has ...

get the array index in for statement in objective-c

Hey everyone; I am stuck in a stupid mess... I want to get not only the value of an array but also the index of the values. In PHP it's simple: foreach($array as $key->$value) Here $key will contain the index value. Isn't there a similar approach in objective c? How else could I achieve this? Please help! :(( ...

show uiactivityview while an other operation is loading

hi all i googled for hours now but i can't find a code example, which describes how to show an uiactivityview while an operation/method is loading. in my case i want to show it while i load a large image to an uiimageview. have you got an idea how to realize that? thanks in advance. sean ...

how to implement 3D Tag Cloud on iPhone, similar as FLASH web pages

a reference demo is here: http://www.roytanck.com/2008/03/06/wordpress-plugin-wp-cumulus-flash-based-tag-cloud/ could anyone share some hints? And are there any static lib to use? thanks! marcos ...

Iphone resource file size limit

Hi, Is there any file size limitation for iphone resource file.For example my sqllite db size can larger than 300 mb? Thanks ...