iphone

Using another one application in one Iphone Application?

anytutorial to use good reader application in iphone sdk? can I use Good reader application in my Iphone APplication? ...

UITableView tableFooterView weird resizing

Hey, I want to display a UIButton in a UITableView's Footer (should be exactly the same for the header). This code is in the viewDidLoad of my TableViewController: UIButton *footerShareButton = [UIButton buttonWithType:UIButtonTypeRoundedRect]; [footerShareButton setFrame:CGRectMake(10, 0, 70, 50)]; NSLog(@"%f", footerShareButton.fram...

Displaying text in an animated way!

Hi All, I want to display a series of text in an animated way one after the other i.e. i want something as displayed in the follwing link.. http://www.tcs.com/homepage/Pages/default.aspx In the above link a series of text are displayed in animated way and if a user clicks on text a video is opened.i want exactly same feature in my app...

instance variable going out of scope

I have an NSString which has been declared as property and being allocated and initialised in view did load as below: NSString *textWithKey; @property(nonatomic,retain)NSString *textWithKey; in .m i have @synthesize textWithKey; and in viewDidLoad i have self.textWithKey=[[NSString alloc]init]; self.textWithKey=@""; Now som...

How to save an image in Sqlite

Hi frnds.. i want to save an image in Sqlite in BOMB format first & then want to dispaly it in the tableviewController's cell plaese suggest me something for that. I m rookie in Iphone development. ...

iPhone SDK 4.0: Get publicKey and privateKey from a certificate / identity profile stored in KeyChain

Hello Community I am trying to get the public and private Key from a certificate which i have already installed on the iPhone. (It is shown unter Settings -> General -> Profiles) I need this keys for encryption sensitive data. (RSA Algorithm) Up to now i have found no way to get access to the keys. Is it even possible ? If not: What...

Can't release array objects, but they are causing leaks.

I have 2 arrays, 1 in the viewDidLoad method and 1 in the add method(adds an object to favorites) NSUserDefaults *myDefault = [NSUserDefaults standardUserDefaults]; NSArray *prefs = [myDefault arrayForKey:@"addedPrefs"]; userAdded = [[NSMutableArray alloc] initWithArray:prefs]; Instruments is showing leaks from these prefs NS...

How can i have more than one cell in a table view row?

I have seen apps that have table views that have rows that contain 2 or 3 cells. Something like the following: | 3 cells in one row | /-------\ /-------\ /-------\ |do this| | do | |do smth| <--- table view row that contains 3 cells | | | that | | else | \-------/ \-------/ \-------/ When you click on a cell th...

what kind of approach should I use to implement pdf thumbs ?

Hello I have to implement kind of the below design : In the above image I have kind of thumbnail of a pdfbook pages and there are two next and previous buttons to implement the functionality of paging . i am thinking of two options to do this 1) Do the designing with IB find the page thumbs and set them accordingly . 2) The second ...

Universal app design 1 table view that opens different view on cell click depending if on iPad or iPhone

I'm making a universal app and I've run across a situation I'm stumped on. On the iPad I'm using a split view, and I would like to make a UITableViewController that is shared on both the iPad and iPhone. I did that, but now when the user clicks a table cell I need to respond. On the iPhone I will init a new view controller and push it in...

iphone development - automatically pop up keypad on a form

Hi, I have a form which I want the user to fill in and I want to have the keypad to pop up on the iphone automatically when they hit that page instead of them tapping on the input box first. What is the special tag in order to achieve that? Also, is it possible to set a timer, eg: 3 seconds, then have the keypad pop up, instead of pop...

specifed architecture type (arm) for file does not match it's cputype (7) and cpusubtype (3)

Hi there, I tried to use openLdap for my iphone app I'm developing at the moment. To compile openLdap I'm using the fat_build.sh from link text. I'm also developing with the Simulator 3.1.3 and under OS X 10.6.0. But at the last step $DEVROOT/usr/bin/lipo -arch arm lnsout/$LIBLDAP_NAME_static.arm -arch i386 lnsout/$LIBLDAP_NAME_sta...

Core Data executeFetchRequest throws NSGenericException (Collection was mutated while being enumerated)

I'm developing a iPhone app with Core Data. All user data should be synchronized with our servers. For this purpose I created a subclass of NSOperation witch loads new data from our web service and creates corresponding managed objects. To maintain the relationships between them, every object is transmitted with a remoteID (which is the ...

Mimic Dock view in iPhone app?

Hi All, In my app I want to mimic the dock as displayed in Mac.Instead of using tab bar I want to use a dock kind of view in my app so that when a user taps on a dock item a new view is displayed.Is there any code or help availble for the same? ...

How to create programmatically an index in a SQLite database with Xcode ?

I use in my iPhone application a very big database. An index is used on one of its columns in oder to make the searchs in this database faster. The problem is that this index increases the size of the database : my application is now bigger than 20 Mo requiring a wifi download (I would like to remain below 20 Mo in order to allow 3G down...

SQLite Problem - Database path

Hello, I'm trying to select data from the database and I have the following code in place: Code: // Setup the database object sqlite3 *database; // Init the animals Array list = [[NSMutableArray alloc] init]; NSLog(@"documents path: ", documentsDir); NSLog(@"database path: ", databasePath); // Open the database from the users ...

TableViewController doesn't flash scroll indicators even if the table is bigger that the view.

Hello, I've got a weird problem with a TableViewController. In the doc it says that a tableViewController deals also with the method -flashScrollIndicators when the table is "oversized" respect the visible area. My app consists in 3 nav controller loaded in a tab controller. Each nav controller has as root view controller a subclass of...

Link to my app that opens in mail on the iPhone, or the PC desktop

I'm trying to email someone a link to my iPhone app in the app store. I've tried Apple's app-link-maker. I've tried many of the suggestions here (and elsewhere) to use http: or itms: or itms-app:. Or to use itunes.apple.com or phobos.apple.com or ax.search or several others. I can't seem to get ONE link that works in both situations:...

Adding an observer to an NSString

Hi, In my application delegate I have an NSString which can be modified by a class. What I want to do is to have another class observe this NSString and to react whenever this NSString is changed. Does anybody know how I can do this? Best regards, Paul Peelen ...

How to Only Show Email Inbox through application on IPhone.

Hello All, I am working on one feature,which sends some information to server and server sends the email. On the view I have to provide one button i.e Inbox which will open Native Inbox like we access photo library. So is it doable? Thanks, Sagar ...