warning: 'UIAlertView' may not respond to '-addTextFieldWithValue:label:'

后端 未结 3 2168
别那么骄傲
别那么骄傲 2020-12-18 16:10

in my application i was using UIAlertView for login, it contains TextFields, its working perfectly, but i\'m getting a warning when i compile the code, i\'m using iphone SDK

3条回答
  •  佛祖请我去吃肉
    2020-12-18 16:35

    This method is private, you should not use it (your app will be rejected). Maybe they removed or renamed it in the latest SDK. For an alternative, see

    http://iphonedevelopment.blogspot.com/2009/02/alert-view-with-prompt.html

提交回复
热议问题