Hi,
in my project both landscape and portrait orientation is supported, i have a controller view to be added as subview when tap on button.
My problem is if user keep device in Face Up orientation or faceDown Orientation and press button weather i have place subview in portrait or landscape mode...?
Thanks in advance
...
i want play voice with bluetooth handset in my app.i could not find right function in documents.
iphone have a system software that called voice memos.it could play voice by bluetooth handset and also could select output mode.
Could someone share solution? sample code better.
Thanks
...
I am busy with an iPhone application. A part of it I load 100 small images from Flickr as an UIButton.
The problem is how to handle the memory. it loads around 5-6 mb each time. When I dealloc the view trough navigationController popViewController the memory stays almost the same.
What I do now is loop all the images and put the request...
I have a main View that has a table which has it's own controller. How can I pass an array from the main controller to the table controller? (I use interface builder maybe i need to init the view programatically?)
...
Hi,
I have an UIImagePickerController to which I add some subviews that contain images. I need to save the whole content as an image, but fail to do this.
For saving the content of the context i use the following code
UIGraphicsBeginImageContext(self.view.frame.size);
[self.view.layer renderInContext:UIGraphicsGetCurrentContext()];
UI...
Hi all,
I have this snippet from apple sample code "LazyTableImages" . In the code below they are initializing the IconDownloader class . So what kind of behavior is this .
*************************This Line ******************************************
IconDownloader *iconDownloader = [imageDownloadsInProgress objectForKey:indexPath]...
Hi all!
In my app I need to avoid the saving state, in fact, I whis that each time the user starts the app, the app will be relaunced like the first time...
how can I do?
...
Hi friends,
Is it possible to get updated receipent and email body information from MFMailComposeViewController in iphone sdk manually. And manually sending that data in json web service to my own mail box.
Regards,
sathish
...
UID - is unique for every device.
But is it possible to determine to wich device it belongs(iPhone or Android i mean) ?
iPhone devices are quite standartised - they come with almoust same hardware but Android is almoust on every device(including iPhone in some cases :) )
...
Can someone just clarify how UIView works in this context? Is it just part of the view controller (i.e. the view that is part of my ViewController.xib). I was puzzled for a second as it felt like I should have been declaring it somewhere, I wanted to call beginAnimations but was not sure what to call it on.
@implementation ViewControlle...
How to make a deep copy of an NSDictionary, the easy way? In particular, it's an NSUserDefaults dictionary that contains only property list objects, so objects which are serializable.
Would I just iterate over it and build a complete new one with copied values? Guess you guys have a better solution.
...
In my application a maintableviewcontroller and its detailviewcontroller which have textfield & button(save) when i click on button i want to save textfield data into maintableviewcontroller'cell which shows the detailview for this achieving what i do explain in detail?
...
Apple requires you to make your app work nicely, whether iAds are available or not, which makes perfect sense. What I'm wondering about is the transition between those two states.
Should I create a view that has a space for an iAd and push it to the screen. If no iAds are available, I then have to remove the ADBannerView once the view i...
My app looks like this:
UIViewController -> UIScrollView -> UIView
Everything works well when user is rotating device.
However, if user rotates device to vertical and then other view is added AFTER user rotated device, new view is still in Portrait mode!
Any ideas what is wrong?
...
Hi all,
I want to calculate my custom cell height with multiple subviews like labels, imageViews, buttons etc.
How do I calculate this cell size?
It seems it's not recommended to do it in cellForRowAtIndxPath, also taking an instance of Cell in heightForRowAtIndexPath, it goes in infinite loop.
I'm able to calculate the height for c...
Hey all,
i have little problem with my code. I want to add a footer to a uitableview-section, but that's not my problem.
My problem is that i want to have rounded corners on my footer-view, but not on all corners, just the two on the bottom. But the corners are just too dark and i don't know why...
Heres my code:
- (void)drawRect:(CG...
Hello,
i'm trying to crete an App that works in potrait and landscape mode, with ONLY ONE ViewController.
So i've 2 file XIB... how can i select one of them from the ViewController?
I've already found how to check if the device is in potrait or landscape mode but i can't switch between the 2 XIBs... :(
Please help me! Thanks!
...
hi,
i am programming a client in objectiv-c for the iphone which should use Soap for the communication with the .Net server.
I have a big problem and hope that somebody can help me.
I send a request with no errors and get a response, but a false response.
in my request i put paramters calles "wo"(= where) and "was" (=what), but the resp...
Hello all,
I want to rotate the uiimageview also scale the image view so how do i detect touch gesture that user is scaling or user is rotating?
...
Hello,
I'm trying to add a UIPicker as a subview, but can't quite figure it out. I've added a second UIView control with a UIPickerview to my nib (NewWorkoutViewController.xib). My code is as follows:
-(NSInteger)numberOfComponentsInPickerView:(UIPickerView *)thePickerView
{
return 1;
}
-(NSInteger)pickerView:(UIPickerView *)theP...