Top "Uiview" questions

UIView is a class in the UIKit framework of iOS defines a rectangular area on the screen and the interfaces for managing the content in that area.

Getting reference to the top-most view/window in iOS application

I'm creating a reusable framework for displaying notifications in an iOS application. I'd like the notification views to be added …

objective-c uiview ios uiwindow
Correct way to load a Nib for a UIView subclass

I am aware this question has been asked before but the answers are contradicting and I am confused, so please …

iphone ios objective-c uiview xib
How to set background image of a view?

I am a beginner at Obj-C/Cocoa Touch/iPhone OS. I wish to have a background for my app with …

iphone objective-c uiview uiimageview
IOS: verify if a point is inside a rect

Is there a way to verify if a CGPoint is inside a specific CGRect. An example would be: I'm dragging …

ios uiview collision-detection cgrect cgpoint
Add a border outside of a UIView (instead of inside)

If a add a border of a view using code in a view like self.layer.borderColor = [UIColor yellowColor].CGColor; …

ios uiview border
UIView with shadow, rounded corners and custom drawRect

I have to create a custom UIView that will have round corners, a border, a shadow and its drawRect() method …

ios objective-c uiview swift drawrect
Remove all constraints affecting a UIView

I have a UIView which is placed on the screen via several constraints. Some of the constraints are owned by …

ios objective-c uiview constraints autolayout
How Do I Take a Screen Shot of a UIView?

I am wondering how my iPhone app can take a screen shot of a specific UIView as a UIImage. I …

ios objective-c uiview screenshot
How can I mimic the bottom sheet from the Maps app?

Can anyone tell me how I can mimic the bottom sheet in the new Maps app in iOS 10? In Android, …

ios swift uiview uiscrollview mapkit
How do I create a custom iOS view class and instantiate multiple copies of it (in IB)?

I am currently making an app that will have multiple timers, which are basically all the same. I want to …

ios xcode class uiview uiviewcontroller