I'm a novice iphone developer, and just completed my first iphone app.
After provisioning my iphone for development, I noticed that the app used way too much memory, and that several memory leaks that were issuing from the app accessing the sqlite database in the app caused the app to crash often. After running instruments, I have decid...
Hi all, this is my first post and i have looked all over for a week or so now so i'm not sure if there is an answer out there or not.
I have an iPhone application (my first one) that has a view that includes a UIWebView.
The view responds to the shake gesture and then loads a modal view controller that includes navigation buttons for...
Hi guys,
I am trying to save data into cache using ASIHTTP (http://allseeing-i.com/ASIHTTPRequest/How-to-use#using_a_download_cache). I am not sure what I am doing wrong but it seems not to be storing data into cache. The output of the following code is this:
2010-08-12 15:44:13.801 TabBar[51728:207] Success is YES
2010-08-12 15:44:13....
I'm creating a facebook page for my application and I want it readable on mobile safari for iPhone, but the normal facebook pages don't show up properly (see attached image) The wall, info, discussion pages don't show up.
I know I can prepend m.facebook to a url to make it the mobile version, but what about the iphone version? touch.fac...
I have some buttons on a view for navigation and when a user presses them my code inserts the appropriate new view page (xib) under the navigation buttons. Each new view page that I insert as a subview has some buttons that are supposed to pop up a new view over everything, including the navigation buttons. Here's one of my button action...
I a have a following line of code invoked after a touch gesture has completed:
CGRect parentBounds = self.view.bounds;
CGRect parentFrame = self.view.frame;
when iPad is placed in a vertical way both parentFrame and parentBounds have similar dimensions of w:768 h:1004 (or something close to that), but when I rotate parentBounds is 102...
I am working on an iphone app.
I have eight tables in a view and only a single table has alpha = 1 at a time depending on which tab at the top of my view is clicked. This works perfectly. I have a search bar that looks through the tables and operates almost perfectly - there are some bugs that I am working on. Currently, my biggest c...
I have a UISearchBar that searches and displays results successfully. If I press the cancel button mid-search, the original table is restored and all is well. If I press the search button that is on the keyboard, the search results are shown, which is great. But THEN if I press the cancel button that is on the search bar (I am using t...
In my application I am parsing XML to create a UITableView. When a user selects a row it changes the file that it is parsing and reloads the tableview.
I want to create a back button so that the user can go back the the previous XML page they were viewing.
In short how can I tell the navigation controller to create a back arrow for th...
I need to build an array using something like the following:
CLLocationCoordinate2D points[4];
points[0] = CLLocationCoordinate2DMake(41.000512, -109.050116);
points[1] = CLLocationCoordinate2DMake(41.002371, -102.052066);
points[2] = CLLocationCoordinate2DMake(36.993076, -102.041981);
points[3] = CLLocationCoordin...
Hello. I'm trying to create a view that's full of controls (buttons, text views, labels, etc.) that can scroll, since I don't have enough screen space for all the controls. I understand that I need the root view in my application to be a UIScrollView and I need to attach to that a UIView with all my controls in it. The problem is, aft...
I have an app that runs slowly on an iPhone 3G but is fast enough on an iPhone 3G S.
Is there a way to limit the app to be available only for iPhone 3G S and faster devices? I would like to avoid bad comments because 3G or even 2G users download it and then complain about it being too slow.
...
I am having issues with UIButton with the iPhone SDK. I've determined that when I have a UIButton held down when the parent is removed (and the uibutton subsequently removed), I get some strange behavior. In my case, the app stops receiving any input whatsoever, as if the cleaned up held-down button has hijacked the input system someho...
Hi everyone . iam trying to shake device with Accelerometer (NOT SHAKE API) because i have a problem with shake api . but idon't know why my code doesn't work on iPad !!! :
viewDidLoad:
[[UIAccelerometer sharedAccelerometer] setUpdateInterval:(1.0 / 40)];
[[UIAccelerometer sharedAccelerometer] setDelegate:self];
As a method :
- (voi...
I need to write an app that runs for iPhone and iPad.
The issue I'm running into is how do you setup an iPadView and an iPhoneView to hook to the same controller?
In other words, I don't want to have any duplicate controller code--I should only have to make a different view for each device.
Right now I link up view->controller by ch...
Hi.
I have an application that uses a tab bar controller.
The tab bar controller manages 11 views in total so there are 4 views available on the first 4 tab bar buttons and the rest are available via the 5th button named "More".
I have a couple of questions here...
Firstly...
Can i rename the "More" button?
Secondly...
When i pre...
I have an iPhone app ready to release in English, and am adding different languages. Is it ok to release the English version first, and then add the language translations, or should they all be done at once?
...
I am writing code for in-app purchases and using a "Processing..." view with an activity indicator to block the "Buy Now" button once a purchase is initiated. However, how can you tell when the user hits a "Cancel" button since those alert views are coming from the AppStore.app?
Is there a delegate method that gets called when those ...
I can't figure out the prototype for this simple function:
In stack:
Function call:
That's what I got so far, and it causes an error.
//No idea
void CameraDeviceCreate(int one,int two,int* three);
There are three registers used (R0,R1,R2) so there should be three arguments. Third one refers to a stack variable (I still don't get...
Hey Guys,
I'm trying to integrate GData/YouTubeAPI into my project but I'm a bit stuck. I used the code that was given in this post:
http://stackoverflow.com/questions/3066131/any-examples-tutorials-on-using-google-gdata-api-youtube-on-iphone
My problem is that the function 'request:finishedWithFeed:error:' is not called when the GDat...