Get Scrollview from MKMapView - uiscrollview

Im trying to get the scrollview from MKMapView but it returns MKScrollContainerView instead of UIScrollView. I am trying to do this in ios6 and ios7. Does anybody know how I can access that scrollbar.
Thanks,
John

Related

UIViewController isn't displayed in iOS 8 (but works in iOS 9)

I'm developing an iOS app in Swift 2 and I have a problem that I can't figure out, I think it may be a bug.
When I run the app in iOS 9 there is no problem, but when I debug it in iOS 8 the following happens: After a notification callback I call prepareforsegue(identifier), the identifier is OK, it enters the ViewDidLoad of the new screen but it never shows it.
Here is the code:
In RegisterData.swift:
func normalRegisterOk(){
performSegueWithIdentifier("userRegisteredSegue", sender: self)
}
To show that the segue Identifier exists, here are 2 screenshots of the storyboard:
screenshot1
screenshot2
After going through normalRegisterOk and calling performSegueWithIdentifier, it does enter the ViewController of the corresponding scene, I put a breakpoint in the viewDidLoad and the viewWillAppear and it enters in both of them.
What I can't understand is why this scene isn't displayed in iOS 8, and is displayed in iOS 9. This scene only has a label and a ScrollView. Does anybody has any idea what the problem can be? Any new functionallity introduced for iOS 9 that doesn't support iOS 8?
Thanks
It's because the view isn't ready yet, call it in viewDidAppear or viewDidLayoutSubviews
Thanks to Mitley's answer I realized that it never entered the viewDidAppear therefore I started debugging and I realized that I called a function in viewDidLayoutSubviews and I don't know why it was called infinite times creating an infinite loop that was what didn't let the screen to show. I still don't know why this happens in iOS8 but not iOS9, but the problem was solved my moving this call to the viewDidLoad

Storyboard orientation Xcode 6.3

I need to design an app in landscape mode. I selected the ViewController and went to the attribute inspector and selected the orientation to Landscape but the controller view in storyboard doesn't become in the landscape mode. Please suggest what I am doing wrong. I am using Xcode 6.3
Thanks
Since the size of view controller is freeform it doesn't rotate. If you can change the size of view controller, you can see it rotating.
Check this screenshot

iOS 8 UI Alert View

UI alert view and toolbar is getting dislocated for iOS 8. This occurs only if we move from a horizontal view to portrait view.
![Screen shot1
in iOS8 system provide a new class UIAlertController,A UIAlertController object displays an alert message to the user. This class replaces the UIActionSheet and UIAlertView classes for displaying alerts.
UIActionSheet and UIAlertView is UIView subclass,i guess iOS8 adjust screen rotate logic,so you need use UIAlertController in iOS8 and after。this a class will help you https://github.com/wangyangcc/FYAlertManage

Load WebView URL inside Notification Bar NSPopover

I'm a noob OSX Developer having issues getting a WebView to load a URL when inside of a Custom View using NSPopover...My NSPopover is activated when a notification bar item is clicked.
This code is in my application delegate under
"- (void)applicationDidFinishLaunching:(NSNotification *)aNotification":
NSURL*url=[NSURL URLWithString:#"http://www.google.com"];
NSURLRequest*request=[NSURLRequest requestWithURL:url];
[[_webView mainFrame] loadRequest:request];
It works just fine if I move the WebView to any other window, but the WebView in my Custom View for this NSPopover displays as a blank page. Any ideas why? Any additional information you might need? Limitation of the CustomView?
You have created the Outlet in IB for the UIWebView in your Custom View ? and strung it together?

hide a uiview with animation in ios4.2

I am new in ios development.Now,i am developing an Ipad application using ios 4.2 .This ipad application
needs some animation ,that is hide a uiview in button action with some animation(ie. hidding slowly).How to implement this animation?
Thanks in advance.
As a start, look here: https://developer.apple.com/library/IOs/#documentation/WindowsViews/Conceptual/ViewPG_iPhoneOS/AnimatingViews/AnimatingViews.html

Resources