I have UINavigationController controlling several views. One of the views is composed of 20 scrollable pages. Each page is a constructed on the fly from UIViews by adding buttons, labels, UIImageViews etc. When this UIView is popped off the stack, the memory usage remains the same. Hence it keeps rising if I keep pushing/popping that vie...
I have a core data application which uses a navigation controller to drill down to a detail view and then if you edit one of the rows of data in the detail view you get taken to an Edit View for the that single line, like in Apples CoreDataBooks example (except CoreDataBooks only uses a UITextField on its own, not one which is a subview ...
hi
i use sqlite database on my iphone app and
i need to update this database from the internet from my server
how i can download the new database and delete the old database
and recopy the new database to document directory
...
In our application I use Left and right button on navigation bar.
I want a image on back (left)button.If i use segment for that then
necessary to define a action for back button.
Please advice me for any method.
...
Hi,
I added the interfaceOrientation to my app. It works fine concerning the views. Some of the table-cells I defined by CGRects to position the text in the cell. In portrait-mode the cell is 300px long, in landscape-mode 420px. I use the following code to change the CGRects depending the orientation:
- (UITableViewCell *)tableView:(UI...
Using Matt Gemmell's MGTwitterEngine, how would I find out if the user (that i'm logged in as) has geo tagging enabled?
According to the Twitter API, there is a 'geo_enabled' boolean flag, but I can't work out how to interrogate it using MGTwitterEngine.
http://apiwiki.twitter.com/Geotagging-API-Best-Practice
...
Hi,
In my application I have 15 screens in that i m using UIViewController for all screens and in all screens i m using the below way to call other screen :-
AppDelegate *appRefre = (AppDelegate *)[[UIApplication sharedApplication]delegate];
[self.navigationController pushViewController:appRefre.frmReferencesLink animated:YES];
And th...
Hi,
My application is completely navigation based and my query is that navigation based application can switch to any mode i mean orientation to portrait to landscape.
Please help me out
Thanks in advance
...
I have an edit view in my app which is a instance of UITableViewController and contains one cell with a textfield in a grouped table.
At the moment this cell is at the top of the screen and is firstResponder so they keyboard is visible as well. But in all the Apples apps like the Contacts App when you edit a piece of information like an...
I am trying to invoke UIImagePickerController to select a movie on iPhone 3GS and when the movie is selected, i just dismiss it and present MyViewController modally with a configured delay of 1.0 seconds. What I notice is 10% of the times, presentModalViewController on MyViewController does nothing whereas it works 90% of the times. I wa...
I want to be able to send files from an iPhone app to a computer. What would be the easiest way of doing this?
I've made simple server client programs before, but in those, the client has always needed to connect to the server before being able to receive messages from it. There is an app for the iPhone called iSimulate, where you put a...
I have a detail view in a table view.
Every thing working ok, and I can go to the detail view and back to the table view.
The problem is that the Back button on the navbar is working but i cant see it..
I cant figure why, and what to do..
I need it there.
Thanks.
...
Hello !
In my iPhone app, I take a picture with the camera, then I want to resize it to 290*390 pixels. I was using this method to resize the image :
UIImage *newImage = [image _imageScaledToSize:CGSizeMake(290, 390) interpolationQuality:1];
It works perfectly, but it's an undocumented function, so I can't use it anymore with...
I have a subclass of UIButton called INMenuCard and I am overriding the initWithFrame to include an activity indicator. The menuCard places correctly but any internal reference to "frame" give me "inf,inf,0,0" which means my activityIndicator subview is not placed correctly. What might I be missing?
@implementation INMenuCard
- (id)ini...
Hey guys,
I'm trying to find a way to use the original Apple system buttons and icons in a web site.
Is there a way to get these original graphics in png format?
There are not-so-nice ways to obtain them of course. Two I was thinking of:
Save them from this link, then convert to png.
Take screen captures on the iPhone itself, and ...
Hi, I have written some gcc ARM inline assembly in iphone sdk 3.1.2
however the breakpoints don't get hit (infact anywhere in the c file that contains it). How can i debug it?
Thanks
...
I have this view and I do some rotation transformation to it using something like
myView.transform = CGAffineTransformMakeRotation(degreesToRadian(90));
//The view was originally at 0 degrees.
at some other point of my code, I would like to scale the view animating it, so I do
[UIView beginAnimations:nil context:NULL];
[UIView setAni...
I have implemented photo save functionality in photo album.But i want to save image name with photo how it possible?
Please give me advice
...
I would like to change the blue color of the UISwitch in iPhone SDK to another color but there is not a tintColor property for this control. Is this possible?
...
I have a horizontal UIScrollView that contains UIButtons (though it could be any object). I would like to only download images for these buttons as the user scrolls and they are seen. I would also like an activityindicator running on each button while the images are downloading. Here's what I've tried with results:
Check content offset...