ipad

[iPad] Scaled UIView disappears on orientation change

Hi @ all, in my iPad App i'am resizing a UIView to 60% of its original size magController.view.transform = CGAffineTransformMakeScale(SCALE_FACTOR,SCALE_FACTOR); that works fine so far but if I rotate the device the UIView gets more or less clipped. I have this issue only on the device in the simulator everything works perfect. gree...

Set title for UIPopoverController containing results for UISearchDisplayController for UISearchBar in iPad

When using UISearchDisplayController with a UISearchBar in iPad, the default behavior is to display the results in a UIPopoverController with the title "Results". How can I change the title? E.g. in the iPad App store, when you search, the popover's title is "Suggestions". ...

iPad PopOverController and tintColor

Is there any way to change the black border of UIPopOverController? ...

how to Set the popupview in the center of the view?

how to Set the popupview in the center of the view? i have problem when i turn ipad in landscape mode its not coming in to the center of view ...

application crashes

Hi my application gets crashes by getting this error!!! :( objc[12723]: FREED(id): message clientID sent to freed object=0x48a23e0 may i know the reason for this!! Thanks ...

Ipad xcode plist problem

Hey guys I'm having a problem with my plist file. Maybe you will be able to figure out the solution. I made a project for ipad, everything is working well on the ipad simulator, absolutely no problem. Now I decided to test it on an ipad device. Therefore I modified the "Bundle Identifier" in the plist which was by default "com.yourcomp...

creating back arrow shaped leftBarButtonItem on UINavigationController

I have a view with a navigation controller that I am showing modally and I want to add a back button that is shaped like the default left arrow buttons used in most splitViewControllers. I can create a basic button but I really want the left arrow shape - here is what i have now: /* set title and nav bar items */ self.navigationItem.le...

Best practice for displaying modal view above UISplitViewController

Creating a new app based on the SplitViewController template and it works fine in Split View. My main screen is to be a non-splitview 'menu'. I'm trying to figure out the best practice for adding this 'mainMenu' modally above the splitViewController. (Then either push other non-split views above the mainMenu or remove it to reveal an...

Ipad issue : Selecting a video using UIImagePickerController and UIPopoverController

Hello there, this is my first ever question. I am developing a iPad app that allows a user to select a video, trim it and then choose it. I first prototyped it for the iPhone and everything work fine. I then ported the code to the iPad, changed the modelviewcontroller for a popupviewcontroller and I get a odd problem. There is no cho...

ipad scrollview causing malloc of 40x the image's size

Bear with me as I am new to obj-c but I have a UIScrollView and a segmented button that switches between 2 images that are presented in the scrollview. Each image is large and roughly 500Kb, but they are each causing allocations of 20+ MB and crashing my app. - (void)viewDidLoad { [bvpiscrollview setContentSize:CGSizeMake(768, 248...

What is the best way to display images/slides/containers on the iPad?

Hi everyone For an app that I am writing I need to display several views (in my case images, yet I guess that should not matter all that much) in a style similar to the way images are displayed in the Fotos app for the iPad. Consider this graphic: Obviously on portrait view fewer slides can fit in per row than on Landscape view. What...

iPhone and iPad VGA Output

I have heard that officially VGA output is not supported by iOS 3, unless not for developers. It this true? Will an app using this be approved by Apple? thanks ...

NSURL declaration /allocation showing error

Hi I Have tried NSString *alertTxt =textfieldName.text; NSLog(@"Name: %@",alertTxt); NSURL *urlAddress = [[NSURL alloc ] initWithString: @"%@/login/index.php",alertTxt]; error : too many argument to function initstring .. the user will giv the url address to the alertText field and i hav to embed in to the webkit may i know the proc...

iPad: Measure/detect covered area by a finger touch on screen (NOT only touch coordinates)

Hi I would like to get access to the area covered by a finger for each touch event on an IPad. Every touch event will result in a coordinate pair X and Y independent of how big the finger and consequently the touch area is that triggered the event. I was wondering if there is a way to get the area data which triggered the touch even...

ViewDidDisappear does not get calling in Ipad Apllication?

I have used following code to insert new view in split view based application DelegateObj.splitViewController.viewControllers = [NSArray arrayWithObjects: FirstObj.navigationController,SecondViewControllerObj, nil]; Similarly when i want to come back I Popped view from 1st object and inserted ThirdViewControll...

Dismiss keyboard on IPAD

Hi, The ResignFirstResponder for an UITextField on the Iphone semms to not working for the Ipad. How can I dismiss my keyboard programmatically? Thanks, ...

UIViewController and UISplitViewController in UITabBarController shouldAutorotateToInterfaceOrientation

Hello Guys, i have some Problems with my iPad Code. I have a UITabBarController which holds some UIViewController and a UISplitViewController. The problem is that the UIViewController and even the UISplitViewController dont recognize orientation Changes correctly. i have set shouldAutorotateToInterfaceOrientation on my TabBarController...

Upgrading to a universal app and sdk problem

Hi, I have an iphone app. I decided to upgrade it to iPad and installed the xcode_3.2.3_and_iphone_sdk_4__final.dmg I upgraded the app to an universal app. Before installation of new sdk, I could compile my iphone app with 3.0 sdk. However, after installation, I can only see iPhone Device 3.2 adn 4.0 sdks on xcode. I wonder, if I com...

Determine the CTLine containg specific character + Core Text + objective c

I am developing an Application in which I am using CoreText for layout purpose. I have used CTFrameSetter to draw the text.I have inserted a blank character '\ufffc' in my text. Now what i want is to determine the position of this blank character i.e. its x, y coordinates. I have not been able to find any function to determine the positi...

Disabled format-detection for iPhone/iPad webapp not working

Hi there. I have a webapp that displays many long numbers recognized as telephone numbers on iPhone / iPad. I used the meta tag mentioned in apple's reference to disable it: <meta name="format-detection" content="telephone=no"/> But this does not work if i load or reload the page normally. When I am reloading a part of the page with a...