Hi I am trying to change the UiAlertview BG color to green, using setBGcolor it give me following output, Which had a dark color Specified in SetBGColor, anyother way to remove the background color or something else.
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- Get the NSRange for the visible text after scroll
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Swift - hide pickerView after value selected
- How do you detect key up / key down events from a
- didBeginContact:(SKPhysicsContact *)contact not in
- Set color of 'empty' area of ListView in A
No, you can't customize a
UIAlertView
, nor can you can useappearance
property in this case. So if you have to do it, what you can do is use aview
that gives aUIAlertView
-like display. You can create a custom view with buttons and use it throughout the app.Or you can check this link. It might help you!
you can change the image or background of the
UIAlertView
but add some subview to it. Here is link which can be useful for you . I am also posting some images for you from given link. But these files are not working in iOS 7Hope this helps.