iphone

IPhone Web App reurn to app after call

Hi I have created a web app that produces a list of items to buy, It also gives a link to call the shop using a Tel: link to its phone number. I want to stay on the app page during the call so the user can read the page out to the shop Is that possible? ...

mergeChangesFromContextDidSaveNotification taking almost a minute

I have a managed object context in a separate thread that is creating a few hundred managed objects, and when it saves, the did save notification is passed to the main thread and my other context (on the main thread) is updated: In Thread [ApplicationDelegate performSelectorOnMainThread:@selector(managedObjectContextDidSave:) ...

Photoshop-like range selection bar in Cocoa/iPhone

I am wondering how to make the typical "range selection" bar, as seen in Photoshop and many other applications. Cocoa/Cocoa Touch only provide the very basic slide bar. ...

how to display an image and hide it in the animation function?

i want the image will be displayed and then hide and so on, i tried nil and blank ... -(void) animationGlaw { glawBall.animationImages = [NSArray arrayWithObjects: [UIImage imageNamed:@"1.png"], [UIImage imageNamed:@""], nil]; glawBall.animationDuration = 0.50; glawBall.animationRepeatCount = 0; ...

unhexlify in objective c

Hi! is there something like Python's unhexlify for objc / cocoa? >>> from binascii import unhexlify >>> help(unhexlify) Help on built-in function unhexlify in module binascii: unhexlify(...) a2b_hex(hexstr) -> s; Binary data of hexadecimal representation. hexstr must contain an even number of hex digits (upper or lower case). This ...

File placement for iPhone Applications

If your application accesses and edits an already existing file is it okay for that file just to be placed in the resources folder? ...

Unreliable action removeObserver: iPhone Video playback

I am first doing add observer call followed by remove observer in the notification function. I am certain that removerObserver is called as I see it on the stack However, the app crashes as if a bad memory reference is left over in the notification center. I think there are 2 possiblities I am hitting an apple bug My sequence of in...

NSFetchedResultsController problem

Hi - When I try to set up a cell in a UITableViewController that has a NSFetchedResultsController I am getting an error as soon as I try to get to the managedObject. The error is: 2009-12-08 16:21:47.610 Take10[4837:20b] *** NSInvocation: warning: object 0xa08dd140 of class 'List' does not implement methodSignatureForSelector: -- troub...

iPhone MkAnnotation Pin Color "Selected-State" Question

Can anyone tell me how to change the "selected state" of a annotation pin color. Meaning if you have a group of 10 pins and they are red and if you select a pin it changes to purple. ...

How does iPhone app communicate with other devices?

We bought a Grace wifi radio. Grace has a cool iPhone app that connects to the radio and lets you control it. My question is.. how the heck does this work? How can the iPhone connect to the radio and then control it?? ...

need to create a restore point (to save the current image position)

how do i create a restore point (to save the current position for restarting the animation later) for the say1 object (s and also how to call it. thanks. - (void) doneThing { say1.hidden = FALSE; [UIView beginAnimations:nil context:nil]; [UIView setAnimationDuration:0.4]; CGPoint destination = CGPointMake(152,-20);...

iPhone UIViewController goes under status bar

I have UIView and UIController view. My is standard 320x460 view. In applicationDidFinishLaunching I do [window addSubview:[controller view]]; What is weird, UIView goes under the status bar (like there's missing outlet). However, if I rotate iPhone to the side and then back, it shows up ok. Is this an expected behavior (I bet I can ...

How do I programmatically mute the iPhone or bring the volume to zero?

I know there are other questions on this same topic, but the iPhone SDK has changed significantly since then. ...

Time in "Upload Received"

I uploaded an app to itunes connect yesterday afternoon. It has been in the "Upload Received" stage ever since then. I uploaded a different app today, it was in that stage for only five minutes. This is the first time I've submitted since the new, more detailed status updates were present. I'm just wondering if the app sitting there ...

working with loaddata is not working properly

I have file on local desktop. I'm converting its url by using [NSURL fileURLWithPath:filePath] but I'm getting error. Here is my code: NSString* filePath = @"/Users/Desktop/bb.ppt"; [powerWeb loadData:[NSData dataWithContentsOfFile:filePath] MIMEType:@"application/vnd.ms-powerpoint" textEncodingName:@"utf-8" ...

Adding new rows to uitableviewcell

In my application,i will be displaying only one row on the uitableview initially. I want to increase the rows as user loads the previous row with data(an uiimage, here). Asof now i'm returing value 1, in numberOfRowsInSection: method, sincei don't know how to implement it in the required way. Pls help.. My cellForRowAtIndexPath method is...

Font size in TextView

I just plunked a textview down on a view, and found that the attributes inspector in IB doesn't seem to allow changing font size. Is that possible, or am I stuck with the default size? Thanks in advance for any help. John Doner ...

Managing custom overlays in iPhone mapview

Do anyone know if mapkit supports managing custom overlays (custom map tiles) like their brower APIs do? ...

How to force screen update for list view from non-UI thread (iPhone)

I have a background thread listening to network, using a callback to process and store data. When it's ready (UI) controller gets a sync Notification, requests data, updates list and refreshes screen ...except screen doesn't update - until user scrolls the screen! void aMessageArrivedCBack (const std::string text) { NSAutoreleasePoo...

is there a way to perform UIModalTransitionStyleCoverHORIZONTAL (not FlipHorizontal)?

I'm using objective-c (obviously, I guess) and I'm wondering if there is a (simple) way to present a modal view but have the view slide in from the right side of the screen. UIModalTransitionStyleCoverVertical has the new view slide in from the bottom, so I would naively think that there would be a Horizontal counterpart, but I can't ...