hey, when my application loads i have a table view which shows data present in my database. On clicking the add button it goes to another view and the data inserted is updated in the database. Now how do i load this updated data when i return from this view to the first view.
Which method do i need to call? ViewDidAppear? or ViewWillAp...
Hello
I have read that I can use the animator object in any UIView to make an animation and this is included in Core Animation so I wrote
[[label animator] setFrame:someRect];
But it gave a warning that UILabel may not respond to -animator
Also I can find the method [label setWantsLayer:YES];
Would anyone help me please?
...
hi everyone,
So, I have two views and i want to give at my NavigationBar the name of a Label in my first view...
And i have an other, in my .xib, i have many button and Label and on the top a "+" button(in a Navigation Bar) (i'm not in a TableView) and my question is, when the first Label is completed, how when i press again the "+" b...
Hey guys can someone help me please?
I have a popover controller that is filled with an array (detailItem) and in different xib I load an image according to the current cell selected in detailitem.
All I want is a button called nextItem which loads the next item in the array?
Cheers
-(IBAction) nextitem{
NSString * image...
Hi all,
I've looked at some of the presentations form WWDC 2010 and also read most of the documents on blocks and concurrency and have a couple of questions regarding using blocks with serial queues in Grand Central Dispatch.
I have an iOS 4 project that has a scrollview and a dictionary of image information - urls to the images and so ...
Hi everyone,
I'm using CFWriteStreamScheduleWithRunLoop and CFWriteStreamWrite to do asynchronous IO. Here's the question: it seems that only one CFWriteStreamWrite call is safe (free of blocking) per each kCFStreamEventCanAcceptBytes notification, because from the second call, we can't guarantee that the socket is ready to accept more ...
i am trying to develop chatting application in iphone. for that i have used xmpp framework, but when i am trying to integrating it with xcode project, i am getting error like "can not find an interface declaration for NSXMLElement". When i see NSXMLElement document it is a class of mac os sdk, not iphone. So how do i solve this problem ?...
Hi!
I like to add a picture (png) to a UITextField.
Anyone has any idea?
Thanks!
Balazs
...
This is driving me insane, I have an iPhone app with background music playing from the iPod app, when I play a sound I want to duck the background music until the sound finishes playing. So I leave my audio session inactive until I need to play the sound, and when I play the sound I set the kAudioSessionProperty_OtherMixableAudioShouldDu...
Hi,
I am going to hire a c/c++ programmer and going to train him in Iphone and Ipad programming. I wanted some advice on how to train someone fast. I primarily want him/her to create basic to medium complexity apps. I dont want to take too much time training because people usually leave the job in 5-6 months. (We are basically a startup...
I'm showing a view in a popover. When I click a button in this view, another view will be pushed into the popover using a navigation controller. While pushing, the height of the popover gets extended. How do I retain the same popover height?
...
Hi all,
I have a small app that from the home screen has a few buttons, when clicked these buttons load in a new view, this all works fine:
- (IBAction)showMaps:(id)sender {
MapViewController *viewcontroller = [[MapViewController alloc] initWithNibName:@"MapView" bundle:nil];
[[self view] addSubview:viewcontroller.view];
...
I have 5 UIimageViews which display .png files, each max 200kb, but ImageIO allocates around and average of 1.3 mb for each. totaling 7.3 mb for the view when loaded.
What is causing this to happen?
I have another class with same amount of images and that allocates only 2 mb max.
...
I would like to copy all photos from an iPhone to a computer.
The iPhone does not mount with a drive letter.
Can you have a look at this script, I only have a basic understanding of VB and cannot get it to work.
See Urek's post here:
http://social.technet.microsoft.com/Forums/en-US/ITCG/thread/67ee3a21-23a6-4f79-8381-50a7580ebf0a
...
Hi,
This is a sibling question of Asynchronous IO with CFWriteStream. I'm using CFReadStreamScheduleWithRunLoop and CFReadSteamRead to do asynchronous IO. How can we safely retrieve all the date with blocking?
Let's say the actual size of a message was 1200 (but we don't know), and the size of my read buffer was 1024. A call to CFReadS...
I have an AVAudioRecorder that captures the sound. What I want is to be able to Play(AVAudioPlayer) the recorded(AVAudioRecorder) sound as it is being recorded.
I have set up the AVAudioSession property to playandRecord... but I dont know how do I program the following sort of scenario?
Like you have your head phones on and you are wal...
Hi,
I have developed a static library using the "iPhone OS->Library->Cocoa Touch Static Library" of Xcode. I compiled it and it works fine. Then I wanted to include this library in a new project. Here is what I've done :
Create a new Xcode project "View-based application"
Project->Add To Project : I added my static library .xcodeproj...
Hi,
How to unrar a file in iPhone or iPad ?
Which library or API should I use ?
Thanks
...
I have view with a UITapGestureRecognizer. So when I tap on the view an other view appears above this view. This new view has three buttons. When I now press on one of these buttons I don't get the buttons action, I only get the tap gesture action. So I'm not able to use these buttons anymore. What can I do to get the events through to t...
Hi all
Here is my problem, Im trying to present a modal view in front of a view with a Navigation Bar.
I managed it fine with my Login modal view, which was presented by the RootView of my application.
But this time the modal view is presented by one of the views of a CustomTabBarController (like in the Tweety app, I created it myself t...