iphone

Which non-bold UTF-8 iPhone SDK font can I use here?

Problem: I create a UILabel with this font: label.font = [UIFont systemFontOfSize:15.0f]; Now this system font is bold, but I want to display pretty small text, and the text may also contain very strange UTF-8 characters like chinese chars and stuff like that. So which other fonts are there to use safely, which are NOT bold and suitf...

JSON framework w/o hidden APIs?

Given all the issues around hidden APIs and Apple now checking for them before releasing anything into the app store, how can you be sure if a particular framework is using hidden APIs? For example, I like the Google JSON framework: http://code.google.com/p/json-framework/. I have no idea if they are using hidden APIs. What else is th...

Google app engine authentication

Hi guys, I would like my iphone app to store & get data from my app engine application, but how can i make sure only my app makes these requests? Do i have to make a gmail account, and let that account login as administrator to my google app engine application? So i can use that account from within my iphone app to handle the request? ...

iPhone:Can my program access Camera using imagepicker API?

Hello All, If my program wants to have a feature which need to access Camera and take photo and come back to app using UIImagePicker (UIImagePickerControllerSourceTypeCamera), can my program do that on iPhone, especially on non-jailbroken device? Does Apple allow for such program to upload in AppStore? I have seen somewhere that Apple ...

String Comparison Woes

I have an array of dictionary objects and I am trying to do a simple comparison of the contents of a record inside the dictionary objects. Here is my code - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { int timeIndex = [indexPath indexAtPosition: [indexPath length] - 1]; ...

Screenshot Apps for iPhone simulator

I was wondering if there are any good recommendations on apps that takes screenshots of the iPhone simulator. I've tried apps like iPhone screenshot cropper but I'm looking for something that will allow me to make larger images. For example large enough to put on a poster. Any suggestions? ...

Which exact UIFont or font is used on the home screen for the icon titles?

I need the exact same font in my app, with the exact same size. Does anyone know? ...

Issue pushing new view controllers on stack using TTURLMap

have an app using tabs, those tabs are mapped as shown in TTNavigatorDemo, in each of those tabs I have varying table views. Each table item has a dynamic TTURLMap URL associated with it. When I select an item, I know the subsequent view controller is being called, i just log in the initWithNavigatorURL function. However, the view is n...

iPhone layer management - best practice

Louis - Thanks for your input. Here is what I did, and my current issues, which i don't understand. The menus (2) are UIImageViews that respond to touch. Each is it's own class. The 'sprites' as you called them also respond to touch. In the .m where I add the menus and sprites to the layer, I created two container layers, via this code...

How to Create "Add to Calendar" Link on Web Page for iPhone

Many calendaring programs (Outlook, iCal) support vCal for downloading event information and adding it to your calendar. Others can use the vCalendar microformat to extract data. Neither of these, however, seems to be supported on the iPhone. Is there any functional equivalent that will allow me to list event information on a page and h...

iPhone Core-Plot Tick Marks Not Showing

I went through the tutorial here: http://www.switchonthecode.com/tutorials/using-core-plot-in-an-iphone-application, and I can get a graph to show, but I don't see any tick marks or labels on my axis set. Is there something simple I'm overlooking? Below is my code to create the graph, and I also implemented the delegate functions. I am s...

Using CATransition with multiple Xib files on Iphone

I've been following this tutorial(www.vimeo.com/1450817) on using Multiple XIB files and I wanted more Transition animations besides flipping and Curling. I've also came across the CATransition class and I wanted to use it but all the tutorial that I've seen with it shows how to use it only if there are views in the same XIB file. so f...

Object reference

I have a situation programming for the iPhone. I have an Object (object A) that contains another Object (object B). Is there a way to reference object A from Object B? If so, how would I do it? ...

Hide navigation bar and toolbar on touch

Does anyone have any info or code on how to can hide a navigation bar and toolbar when the user touches the iphone screen. Basically I have an image gallery and I want to see the images in the whole of the iphone screen. also im trying to implement a button so the user can download the image i had no luck on my search on google. Thanks...

How much can SQLite store on the iPhone?

I have an idea for a webapp for the iPhone but its unknown to me how much data can be stored in mobile Safari's SQLite db. I tried searching through the Apple docs but found nothing: Safari Client-Side Storage and Offline Applications Programming Guide: Using the JavaScript Database ...

Submit iPhone app to different countries

Does anyone know if you can submit an iPhone app to several countries rather than just your own? thanks, fbr ...

How to remove vibrate effect from the iphone device.

I am implementing chat application.I have implemented vibrate effect when user get bips.but i want to remove vibrate effect and implement sound effect.how it is possible? ...

Sync (button) on Iphone Application

Hi, Can anyone tell me How does the Sync Button on many Iphone app. works (like 'Le Monde'). The button download and replace all files of the application? only look for change (new entry) on the database and add them?.... Thanks, ...

Creating a custom NSRunLoop

I'm starting to understand RunLoop as analogous to Event Queues in Java. Wgat I'm now trying to do, merely to understand better, is create a background thread in an application that runs its own RunLoop. I get as far as this in an example ViewController and then get stuck: @implementation iPhoneRunLoopsViewController -(void) workerMain...

Animate the enabling of a UIBarButtonItem?

Is there a way to animate enabling or disabling a button? I've tried the following with no success. I'm guessing at this point that the enabled property cannot be animated like opacity can – but I hope I'm wrong. [UIView beginAnimations:nil context:nil]; [UIView setAnimationDuration:1.0f]; theButton.enabled = YES; [UIView setAnimati...